{"by":"ohbarye","descendants":33,"id":40441093,"kids":[40451074,40442307,40442687,40443303,40443992,40451780,40442792,40441948,40447607,40453125],"score":196,"text":"Hello HN,<p>I introduce a property-based testing tool for Ruby.\nRuby&#x27;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.<p>This gem currently not only has the basic functionality of stateless property-based testing but also has the following features:<p>- Support verbose mode that allows you to see its shrinking procedure and algorithms.<p>- Support several concurrency&#x2F;parallel executions of each test. As of now, Ractor&#x2F;Thread&#x2F;Process are available. (The default is sequential, considering benchmark results and actual use cases)<p>Happy hacking!","time":1716386305,"title":"Show HN: PBT – A property-based testing library for Ruby","type":"story","url":"https://github.com/ohbarye/pbt"}