Test::Unit Console Runner

L

List Recv

Is there anyway to pass options to the (wonderful!) Test::Unit Console
Runner to do things like increase verbosity:
* Print all passing tests
* Print all passing assertions

or decrease verbosity:
* Just the error message, and maybe a few lines of stack trace, but not
the entire stack trace!
 
P

Pit Capitain

List said:
Is there anyway to pass options to the (wonderful!) Test::Unit Console
Runner to do things like increase verbosity:
* Print all passing tests
* Print all passing assertions

or decrease verbosity:
* Just the error message, and maybe a few lines of stack trace, but not
the entire stack trace!

Looking at the output of "testrb -h" there seems to be no built-in way
to increase verbosity, but there are some levels in the other direction:

-v, --verbose=[LEVEL] Set the output level (default is verbose).
(s[ilent], p[rogress], n[ormal], v[erbose])

Regards,
Pit
 
J

Jeff Wood

------=_Part_21549_598657.1133945309923
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Also, if you take a look @ the same question when asked for the JUnit
framework, the normal answer is that
the most common method of passing arguments to tests is to use environment
variables. Works for me.

j.

List said:
Is there anyway to pass options to the (wonderful!) Test::Unit Console
Runner to do things like increase verbosity:
* Print all passing tests
* Print all passing assertions

or decrease verbosity:
* Just the error message, and maybe a few lines of stack trace, but not
the entire stack trace!

Looking at the output of "testrb -h" there seems to be no built-in way
to increase verbosity, but there are some levels in the other direction:

-v, --verbose=3D[LEVEL] Set the output level (default is verbose).
(s[ilent], p[rogress], n[ormal], v[erbose])

Regards,
Pit


--
"Remember. Understand. Believe. Yield! -> http://ruby-lang.org"

Jeff Wood

------=_Part_21549_598657.1133945309923--
 

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,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top