PBT – A property-based testing library for Ruby
PBT – A property-based testing library for Ruby
Hello HN, I introduce a property-based testing tool for Ruby. Ruby's ease of test-writing and rich ecosystem are widely acclaimed. However, property-based testing is not as widely used as in other languages such as Haskell or Elixir, and I think this is because there is no de facto testing tool. This gem currently not only has the basic functionality of stateless property-based testing but also has the following features: - Support verbose mode that allows you to see its shrinking procedure and algorithms. - Support several concurrency/parallel executions of each test. As of now, Ractor/Thread/Process are available. (The default is sequential, considering benchmark results and actual use cases) Happy hacking!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Writing a property-based testing library from scratch
Property-based C# dependency injection
Fault injection library for testing
A compile testing library for Kotlin
Assert: testing and assertion library on top of Go generics
A Pdfjs based library for Vue 3
Est – mixin library based on Less
Automated property-based snapshot testing for React Components
Testy, a better Golang testing library
Proxymise – Promise method and property chaining without then or await