jimweirich/rspec-given
View on GitHub ↗ ★ 651 Ruby
Given/When/Then keywords for RSpec Specifications
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2012-12-07 · latest 2024-05-09
20082026
-
…expression and give a helpful message even with an assertion like: `Then { result == 7 }` [1]: https://github.com/jimweirich/rspec-given
comment by neallindsay · 2024-05-09 · in Test Failures Should Be Actionable -
…== 1 } And { @stack.size == 1 } What you wish for is embedded in When and And. Check it out: https://github.com/jimweirich/rspec-given
comment by FrancoisBosun · 2021-05-10 · in History of RSpec