Manuscript (Case [Issue]22494) SUnit - TestCase>>shouldnt:raise: assertion raises an exception when it is not true

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

Manuscript (Case [Issue]22494) SUnit - TestCase>>shouldnt:raise: assertion raises an exception when it is not true

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  SUnit: 1. Pharo Image  •  You are subscribed to this case
Reproduce:
- create a method named "shouldntTest" In a sub class of TestCase, with code: `self shouldnt: [self halt] raise: Halt`
- run this test by clicking on the circle button besides the method name in the code browser
- an exception "TestFailure: Assertion failed" is raised instead of the test just failing and turning the circle button red
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker