Resources tagged with testing

Integration testing external sites/redirects

We were having some trouble with Capybara-based integration testing not hitting external services. This post provides the key hints that got us past that, including a pointer to the very useful rack-client gem. MG 01/16/11 Testing rack

thoughtbot and the Holy Grail

Roundup of the current state of full-stack integration testing in Rails. They’re liking Akephalos these days. MG 11/24/10 Rails Testing

infinity_test

Simultaneous continuous testing (a la autotest) across multiple rubies all at once via RVM. MG 10/07/10 Testing

Bourne - test spies for mocha

The jferris-mocha gem gets a new name and home. This is the post that started it all: http://robots.thoughtbot.com/post/159805295/spy-vs-spy MB 07/09/10 Ruby Gems Testing Mocha

Fake

Automated testing with a browser “Fake is like a combination of Safari and Automator.” MB 07/06/10 Mac OSX Testing web

Simulate key presses in your Capybara tests

Some Cucumber features to send keystrokes to an element. MB 06/09/10 Capybara Cucumber Testing

Rails Integration Testing Stack for Winners

Will Leinweber recommends Cucumber, Capybara, and some other bits and bobs. MG 05/03/10 Cucumber Capybara Testing

Unit and Functional Tests are as Useful as 100% Code Coverage

I’m starting to agree with an emphasis on integration tests. I’m still not a fan of cucumber though. MG 04/28/10 Testing

Grease Your Suite

“Tips and tricks for faster testing” (PgDn to advance slides). MG 04/16/10 Testing