Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



And now you have three codebases to refactor and maintain.

What's wrong with `rspec -f doc`?


exactly. saves so much time. perfectly legible for most.


You weren't the first: https://www.relishapp.com/


Yeah, Relish is similar but not quite the same: it's a separate website rather than an integrated one.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: