#1444: Optional argument for AgaviTesting::dispatch() to trigger exit with
status
code
-------------------------+--------------------------------------------------
Reporter: david | Owner: felix
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0.7
Component: testing | Version: 1.0.6
Severity: normal | Keywords:
Has_patch: 0 |
-------------------------+--------------------------------------------------
RIght now, the exit status of e.g. {{{run-tests.php}}} is always 0. A
second argument (defaulting to {{{false}}} at least for 1.0.x) should be
added to {{{AgaviTesting::dispatch()}}} that, when set to true, will
trigger a call to {{{exit()}}} with the same status code that PHPUnit
would use.
--
Ticket URL: <http://trac.agavi.org/ticket/1444>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets