Forum: Ruby test-unit-benchmark-0.1

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
15bd00b1919f3f2920dc70da19c1ead9?d=identicon&s=25 unknown (Guest)
on 2006-01-19 04:40
(Received via mailing list)
Hi,

== Abstract

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.


It is available at
http://www.rubyist.net/~rubikitch/computer/test-un...


== What's new

=== [2006/01/19] 0.1 released
Initial release


== Install
Before installing this program, install Devel::Which and AspectR.

Please execute the following commands.

  ruby -ropen-uri -e
'URI("http://www.rubyist.net/~rubikitch/archive/test-uni...
> test-unit-benchmark-0.1.tar.gz
  tar xzvf test-unit-benchmark-0.1.tar.gz


When you failed, please download it from the next link.

*
((<test-unit-benchmark-0.1.tar.gz|URL:http://www.rubyist.net/~rubikitch/archive/test-uni...))

Then, install it.

  sudo ruby setup.rb
This topic is locked and can not be replied to.