10 Mar '12, 4pm

Sweep unused code into the dustbin with rcov - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS:

We hit all the “happy paths” with Cucumber, and we generally hit the failure UI as well. For example, we’ll test the successful submission of a form and one failed submission in Cucumber, and then we’ll test all the individual validations that cause the form to fail from RSpec. That approach hits most of the application code with Cucumber, and although just running every line doesn’t indicate decent coverage, it can give you an idea of which parts of the application code are actually in use. You can generate an HTML report of application code that isn’t reached by Cucumber using a task like this:

Full article: http://robots.thoughtbot.com/post/2941220520/cleaning-up-...

Tweets

Pictures: Resorts World Sentosa plays host to giant robots at Cybertron Con 2012

Pictures: Resorts World Sentosa plays host to g...

straitstimes.com 11 Mar '12, 11am

Resorts World Sentosa holds Southeast Asia's first Transformers Cybertron Con. The second bi-annual conference includes a ...