Write better specs!

I love RSpec. It’s one of the best tools on the web for opensource developers to write tests. Nothing compares to its power, ability and extensibility. Mocha and Chai for Javascript pale in comparison to its ability to test.

That said there are some really terrible spec files out there. I’m wholly grateful for a resource you all must checkout if you write Ruby or RSpec, its called “BetterSpecs”. Its a online resource containing examples of bad ideas and examples of better ideas and finally examples of best practices to use when writing RSpec tests.

Check it out, it’s totally free: http://betterspecs.org/ 

Written on September 29, 2015