Actions
Bug #4658
closedMinitest - invalid return code when using MiniTest::Unit.after_tests
Bug #4658:
Minitest - invalid return code when using MiniTest::Unit.after_tests
Description
If test fails and MiniTest::Unit.after_tests is used then the program returned code is 0 but it should not be.
Here is my current workaround:
MiniTest::Unit.after_tests do
status = ($! && $!.respond_to?(:status) && $!.status) || 0
do something...¶
exit(status)
end
Updated by sorah (Sorah Fukumori) over 15 years ago
- Category set to lib
- Assignee set to zenspider (Ryan Davis)
minitest has an upstream.
Could report same issue to at the following url?
http://rubyforge.org/tracker/?atid=4097&group_id=1040&func=browse
Updated by ko1 (Koichi Sasada) over 15 years ago
- Status changed from Open to Feedback
Updated by zenspider (Ryan Davis) over 15 years ago
Updated by zenspider (Ryan Davis) over 15 years ago
Updated by zenspider (Ryan Davis) about 15 years ago
- Status changed from Feedback to Rejected
No reply. Closing.
Actions