4 ms·
This entirely depends on how you write your step code. If you treat it like production code and aggressively refactor it, so you have minimal reuse of steps, lo
by chrismdp 13y ago
This entirely depends on how you write your step code. If you treat it like production code and aggressively refactor it, so you have minimal reuse of steps, lots of one or two-line steps, calling clean well factored plain Ruby code that actually does the work, you'll be a lot better off.
This does take time to create, but in my experience having acceptance tests written in a form which is readable to anyone is very useful. I've even gone so far as to create a gem to display the features as the 'help' section of a website:
https://github.com/chrismdp/rack-usermanual https://github.com/chrismdp/rack-usermanual
- cheald 13y agoAnd now you have three codebases to refactor and maintain. What's wrong with `rspec -f doc`?
- goldvine 13y agoexactly. saves so much time. perfectly legible for most.
- jrochkind1 13y agoYou weren't the first: https://www.relishapp.com/ https://www.relishapp.com/
- chrismdp 13y agoYeah, Relish is similar but not quite the same: it's a separate website rather than an integrated one.