Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Mohammad Azam
One other thing I noticed is that I have already installed win32console gem on my machine but for some reason whenever I use the color option it gives me the following output: C:\Projects\FirstLookAtIronRuby\FirstLookAtIronRuby\TestSuite>spec test_prime.rb --format specdoc --colour You must

Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Mohammad Azam
You are right! require test/unit was the problem. I removed it and it worked smoothly! Thanks, Azam -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Kevin Radcliffe
Mohammad Azam wrote: > I had to configure the path for spec.bat using environment variables. > > Now, I can run the specifications using the following: > > spec test_prime.rb > > but I still need to format is nicely. --format nested does not work it > complains that invalid --format parameter!

Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Mohammad Azam
I had to configure the path for spec.bat using environment variables. Now, I can run the specifications using the following: spec test_prime.rb but I still need to format is nicely. --format nested does not work it complains that invalid --format parameter! -- Posted via http://www.ruby-forum.

Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Mohammad Azam
I changed the code to this but still not picking up the test: describe PrimeService,"when 1 is passed to the prime service" do it "should return true" do primeService = PrimeService.new primeService.IsPrime(1).should == true end Mohammad Azam wrote: > I got the Spec working in IronRuby! Thank

Re: [Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Jimmy Schementi
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

[Ironruby-core] Formatting the test result in Spec

2009-07-06 Thread Mohammad Azam
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 se