Show HN: 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!


Comments URL: https://news.ycombinator.com/item?id=40441093

Points: 65

# Comments: 4

https://github.com/ohbarye/pbt

Établi 28d | 22 mai 2024 à 16:10:04


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Ask HN: What does RISC-V custom chips for under $100K mean?

In 2016, SiFive blogged about custom chips for under $100K[1]. What does this mean in practice for a business? What does a business get if they give SiFive $100K? Does the business have to give Si

19 juin 2024 à 16:20:18 | Hacker news