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

Created 1y | May 22, 2024, 4:10:04 PM


Login to add comment

Other posts in this group

Show HN: Modernized File Manager and Program Manager from Windows 3.x

This is a fork of Windows File Manager combined with a from-scratch remake of Program Manager. Fast, lightweight, and suitable for daily driver use.


Comments URL:

Jul 7, 2025, 4:50:09 AM | Hacker news
Show HN: A Language Server Implementation for SystemD Unit Files

A Language Server Protocol (LSP) implementation for systemd unit files, providing editing support with syntax highlighting, diagnostics, autocompletion, and documentation made with rust.


Jul 7, 2025, 4:50:08 AM | Hacker news