Categories: None [Edit]

regtest

https://rubygems.org/gems/regtest
https://github.com/janfri/regtest
This library supports a very simple way to do regression testing with Ruby. It is not limited to Ruby projects you can use it also in other contexts where you can extract data with Ruby. You write Ruby scripts with samples. Run these and get the sample results as results files besides your scripts. Check both the scripts and the results files in you Source Code Management System (SCM). When you run the scrips on a later (or even previous) version of your code a simple diff show you if and how the changes in your code or environment impact the results of your samples. This is not a replacement for unit testing but a complement: You can produce a lot of samples with a small amount of Ruby code (e.g. a large number of combinations of data).

Total

Ranking: 30,714 of 195,789
Downloads: 46,451

Daily

Ranking: 17,885 of 195,762
Downloads: 36

Depended by

RankDownloadsName
3,0645,612,036mini_exiftool
4,0782,726,550multi_exiftool
15,582138,052rim
31,64444,570scripref
103,9488,066sqlbible
171,1152,800ebookbinder

Depends on

RankDownloadsName
81,385,215,595rake
15,582138,052rim

Owners

#GravatarHandle
1iconjanfri