Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

property-based testing

Rubyで個別に具体的なテストケースを作成せずに自動テストをする

記事タイトルをみて「なんのこと?」と思った方もいるかもしれませんが、 RSpec や JUnit などに代表されるような example-based testing をせずに property-based testing という方法でテストをする、というお話です。

ひどいサンプルコードで property based testing をまなぶ

property based testing の概要とサンプルをまとめました。