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

созданный 27d | 22 мая 2024 г., 16:10:04


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

Show HN: I made an open source and local translation app

A few years ago, right after high school, I decided to try to make a simultaneous translation app for Android as a side project, it took longer than expected (about 2 years) and I had to make a lo

19 июн. 2024 г., 02:40:14 | Hacker news
KidPix
19 июн. 2024 г., 02:40:11 | Hacker news