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!
- Setup / Teardown
- Assertions (using the
- Report tests/assertions/failures
- Keep track of lines where failures happened
Just clone this gist and run:
Copyright (c) 2011 Josep M. Bach. Released under the MIT license.