Live data from Hacker News

Capybara: Acceptance test framework for web applications

github.com

1–10 of 20 posts

Re: Capybara: Acceptance test framework for web applications

#9
Capybara's a great too that we use heavily at https://www.incoin.io. One of the hangups we had is with multiple API endpoints being hit for a particular page. In some instances the first API request would finish and Capybara would assume that loading is done, when really there's another API request pending meaning our promises haven't yet finished and tests would fail randomly.

In order to prevent this you need to delay Capybara's processing so that all requests have finished using a request counter. Information is here: http://tonyhb.com/stop-treading-water-with-marionette-and-ca...

Other than that, Capybara is absolutely amazing. It doesn't replace manual UI testing by any means, though it provides a lot of confidence knowing we haven't broken critical components of our app.

Re: Capybara: Acceptance test framework for web applications

#10

Sigh - more ruby rubbish. There are much cleaner and better and frankly less 'magic' tools available. Find them, use them, say no to ruby!

Care to at least elaborate which tools you're referring too? That way you'd at least contribute something to the discussion but a snark.
Post reply on HN