See the test-spec documentation: http://test-spec.rubyforge.org/test-spec
Reading about test-unit would be useful too: http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/ ________________________________________ From: ironruby-core-boun...@rubyforge.org [ironruby-core-boun...@rubyforge.org] on behalf of Mohammad Azam [li...@ruby-forum.com] Sent: Monday, July 06, 2009 1:23 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Formatting the test result in Spec I got the Spec working in IronRuby! Thanks everyone. How can I get a detailed report (command line) when running the test? Currently, I only get the following: C:\Projects\FirstLookAtIronRuby\FirstLookAtIronRuby\TestSuite>ir test_prime.rb Loaded suite test_prime Started Finished in 0.015625 seconds. 0 tests, 0 assertions, 0 failures, 0 errors Also, for some reason it says "0 tests" here is my test_prime.rb file: require 'test/unit' require 'rubygems' require 'spec' require File.dirname(__FILE__) + '/bin/Debug/BusinessObjects.dll' include BusinessObjects include Test::Unit describe PrimeService,"when 1 is passed to the prime service" do it "should return true" do primeService = PrimeService.new primeService.IsPrime(1) end end -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core