News for hackers. Stuff that matters.
Re:The Tragedy of Given-When-Then by Dangeranger on Tuesday April 16, 2019 @01:47PM (#19675702)
You can embed G/W/T into RSpec. There's a library called Turnip[0], a play on Cucumber, that extends the syntax to Feature tests in RSpec.

- [0] https://github.com/jnicklas/turnip

The reason RSpec didn't include this originally probably stems from the library being designed for testing at the class or module level, rather than an entire application.

There are no comments on this comment yet.