Problem with displaying command line outputs

J

John Smith

I am trying to run some tests, which utilize test::unit. Aside from the
typical assertions that generate dots, F/E and error messages, there are
some puts text that should be displayed too. This works fine when
running my test files (ie. test1.rb) one at a time from a command line.

However, when I run multiple tests in the same directory from one file,
which is either another .rb file that just runs each test one after
another through the ruby command, or optionally, I have set up a rake
file that iterates through everything, I get no output on the command
line. The tests do run for sure, but I would like to see all the output
as if I were running each test individually. Is there a way to force the
output to display?

Thanks in advance!
 
J

John Smith

I tried a few more approaches, but they don't work either. I have an .rb
file that just requires all the other .rb files, but the problem is, I
can't run tests by passing command line arguments that way.
Any suggestions? Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top