27 Dec '13, 12am

This echoes my feelings on Cucumber

I had really poor experiences with Cucumber. The annoyance with Cucumber comes nearly all from a case of indirection. If devs are writing the Cucumber tests and then writing all the regular expressions to implement the steps, then you often wonder why the heck you’re not just writing tests in Ruby. SO WHY DON’T WE JUST WRITE RUBY AND SKIP THE INDIRECTION?!?!?! On a recent project however, my anchor spent the first 3-4 weeks with a lot of hands-on time working with the PM to get the PM to write stories in Tracker with multiple scenarios in the “Given… When… Then…” syntax. We then paste it directly in to a .feature file and start defining the steps. We don’t try to reuse steps very much. This means steps.rb becomes a type of dumping ground and you just have to let that go. WHAT YOU HAVE TO DO is not put much in the steps.rb and build up a “language” that lives in your helper...

Full article: http://pivotallabs.com/cucumber-when-to-use-it-when-to-lo...

Tweets

Rails Associations With Multiple Foreign Keys -...

pivotallabs.com 26 Dec '13, 4am

Recently we had a situation where we inherited a schema and two of the models were joined using multiple foreign keys. The...

How Bank Branches are Going to Evolve

pivotallabs.com 26 Dec '13, 11pm

The advent of mobile banking granted consumers the ability to pay bills, deposit cheques and, in the near future, applying...

How to Ensure Effective Communication Among Qua...

pivotallabs.com 27 Dec '13, 3pm

It’s no revelation that communication is an area where one size does not fit all. Therefore, our Quality Assurance (QA) De...