#a
a is a testing framework written in 6 lines of code (or 472 characters) which tries to be performant, with eye-catchy reports and easy to use.
Heavily inspired by Konstantin Haase's almost-sinatra, its long-term purpose is to become the fastest testing framework available.
The idea is to stay under 7 lines with less than 80 chars per line. There is room for optimization!
##Features
- Setup / Teardown
- Assertions (using the
a
method) - Report tests/assertions/failures
- Keep track of lines where failures happened
##Usage
Just clone this gist and run:
ruby example.rb
And voilà:
Copyright (c) 2011 Josep M. Bach. Released under the MIT license.
thanks, you're totally right! if you want you can do a pull request in the 'a' repo? (http://github.com/txus/a)