Project

oktest

0.02
Low commit activity in last 3 years
Oktest.rb is a new-style testing library for Ruby. * `ok {actual} == expected` style assertion. * **Fixture injection** inspired by dependency injection. * Structured test specifications like RSpec. * Filtering testcases by pattern or tags. * Blue/red color instead of green/red for accesability. * Small code size (about 2300 lines) and good performance. See https://github.com/kwatch/oktest/tree/ruby/ruby for details.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies

Runtime

 Project Readme

Oktest README

Oktest is a new-style testing library for Python, Ruby, JavaScript, Perl, etc.

Features

  • ok (actual) == expected style assertion.
  • Fixture injection inspired by dependency injection.
  • Structured test specifications like RSpec.
  • Filtering testcases by pattern or tags.
  • Blue/red color instead of green/red for accesability.
  • Small code size (about 2000~3000 lines) and good performance.

Branches

Python:
https://github.com/kwatch/oktest/tree/python/python
https://pythonhosted.org/Oktest/ (users-guide)

Ruby:
https://github.com/kwatch/oktest/tree/ruby/ruby

JavaScript:
https://github.com/kwatch/oktest/tree/javascript/javascript

Perl:
https://github.com/kwatch/oktest/tree/perl/perl

License

MIT License