Test::Unit messages

A

aidy

Hi,

I would like to add additional comments to the ouput of my unit
tests.

For example I would link to send a description of what the test is
doing to the Test::Unit output which would then be included in the
ci_reporter xml wrapper.

I need this as I use assertions for my Watir GUI tests

Cheers

Aidy
 
T

Tim Pease

Hi,

I would like to add additional comments to the ouput of my unit
tests.

I know most of the assertions support adding a comment after the
actual/expected values. That comment will get printed if the test
fails.

assert(false, "this assertion will fail")

For example I would link to send a description of what the test is
doing to the Test::Unit output which would then be included in the
ci_reporter xml wrapper.

I've never used the ci_reporter xml wrapper. You might have to hack
through that class on your own to get the text output you need
(provided it does not already do that).

Blessings,
TwP
 

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

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top