"ignored tests" feature for SUnitToo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"ignored tests" feature for SUnitToo

Adrian Kuhn-3
Hi list,

I published an extension to SUnitToo on public store, it adds  
"ignored tests" to SUnitToo. The extension is handy when working on  
shared code to communicate that a test is "known to be broken".

Calling #cancel or #broken from a test method abandons the run of the  
method and returns Cancel as result. In the UI ignored ie canceled  
test are shown as yellow. A yellow Cancel is worser than a green Pass  
but less worse than the red Failure or Error. I made a special icon  
for the test methods, a yellow cross.

I tried different semantic with "known to be broken" tests and  
decided to ignore, ie not run, them. Thus an ignored test is neither  
a pass nor a failure (for Result>>allPasses) but a defect (for the  
Defects button).

Please find these two versions on public store
SUnitToo (38 + ignored tests,akuhn)
SUnitTools (34 + ignored tests,akuhn)
and let me know what you think of it.

cheers,
Adrian