Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006415 [Squeak] SUnit major always 04-13-07 07:47 04-13-07 07:47
Reporter black View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.9
Summary 0006415: When expectedFailures is non-empty, Sunit browser shows wrong bar color
Description SUppose that you have a test taht you know will fail. Put it's name in the array answered by TestClass>>expectedfailures.

Run the tests. Now the test-runner will say (correctly) "N run, (n-1) passes, 1 expected failure ..." but the bar is YELLOW!

Even worse: add a test that unexpectedly fails. Now you get (correctly) text that says "n run, (n-2) passes, 1 expected failures, 0 failures, 1 errors, 0 unexpected passes", but now the BAR IS GREEN. That's right: unexpected error tests, and a GREEN BAR.
Additional Information If I delete the expectedFailures method, I get a red bar as you would expect.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-13-07 07:47 black New Issue

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker