PB

PBT – A property-based testing library for Ruby

Hacker News

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 card

Actual performance

196points
33comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
59%59% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Strong signals: para · Missing: supports, reddit linkedin, podcasting
49%49% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Missing: mac, agents, macos
46%46% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
36%36% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce · Missing: web3, chat, crypto
8%8% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Wr
Writing a property-based testing library from scratch47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Writing a property-based testing library from scratch

Hacker News1
Pr
Property-based C# dependency injection25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Property-based C# dependency injection

Hacker News2
Fa
Fault injection library for testing28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fault injection library for testing

Hacker News3
A
A compile testing library for Kotlin41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A compile testing library for Kotlin

Hacker News3
As
Assert: testing and assertion library on top of Go generics39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Assert: testing and assertion library on top of Go generics

Hacker News3
A
A Pdfjs based library for Vue 349%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Pdfjs based library for Vue 3

Hacker News2
Es
Est – mixin library based on Less51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Est – mixin library based on Less

Hacker News5
Au
Automated property-based snapshot testing for React Components38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Automated property-based snapshot testing for React Components

Hacker News3
Te
Testy, a better Golang testing library39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Testy, a better Golang testing library

Hacker News2
Pr
Proxymise – Promise method and property chaining without then or await37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Proxymise – Promise method and property chaining without then or await

Hacker News1