RAA - test-unit-bench

test-unit-bench / 0.1

Short description: Unit testing with benchmark
Category: Library/Benchmark
Status: usable
Created: 2006-01-19 02:58:01 GMT
Last update: 2006-01-19 02:58:01 GMT
Owner: rubikitch (Projects of this owner)
Homepage: http://www.rubyist.net/~rubikitch/computer/test-unit-benchmark/
Download: http://www.rubyist.net/~rubikitch/archive/test-unit-benchmark-0.1.tar.gz
License: GPL
Dependency:
None
Description:

Test::Unit::Benchmark measures benchmarks of each test by Test::Unit.

% benchrb test/test-command.rb
Loaded suite [test/test-command.rb, /home/rubikitch/ruby/test/unit/benchmark.rb]
Started
..
Finished in 9.405327 seconds.

2 tests, 2 assertions, 0 failures, 0 errors

Benchmark Result
2.6119 secs: TestAptSary#test_cache
6.7922 secs: TestAptSary#test_file

Because this program is very short, it is an easy example of AspectR, aspect oriented programming for Ruby.

Edit this project (for project owner)

back to RAA top