mageekguy/atoum — Issue #32: die() in tested class still result in "Success"
Author: gabrielpillet
Created: 2011-11-07 16:35:41+00:00
State: open

If I die() in a tested method of a given class, the executed test still prints a "Success" message and returns "0".

> atoum version nightly-823-201111021458 by Frédéric Hardy
> PHP path: /usr/bin/php5
> PHP version:
=> PHP 5.3.6-6~dotdeb.0 with Suhosin-Patch (cli) (built: Apr 17 2011 13:37:29)
=> Copyright (c) 1997-2011 The PHP Group
=> Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
> GivenClass...
[SSS.._______________________________________________________][3/5]
=> Test duration: 0.01 second.
=> Memory usage: 1.75 Mb.
> Total test duration: 0.01 second.
> Total test memory usage: 1.75 Mb.
> Running duration: 0.14 second.
Success (1 test, 5 methods, 30 assertions, 0 error, 0 exception) !