News for hackers. Stuff that matters.
Re:Show HN: PBT – A property-based testing library for Ruby by cortesoft on Wednesday May 22, 2024 @11:38AM (#40442307)
Can this be used alongside rspec? Like have these be tests that are included in the rspec test run, and have the results alongside your other rspec tests?
Re:Show HN: PBT – A property-based testing library for Ruby by ohbarye on Wednesday May 22, 2024 @11:49AM (#40442420)
The answer to both questions is yes.

This gem doesn't aim to reimplement a testing framework. It can also be considered just an assertion. You can use this alongside any testing framework like RSpec, minitest, and etc.