Menu

#17 runtimeexception phpunit does not like "die()"

open
nobody
None
5
2011-12-27
2011-12-27
No

my unit tests use the database layer, which is bad however please read on...

when using functionality that is NYI I put "die()" in there to make it die horribly,

The die causes strange runtimeexpcetion with no error msg to tests that do not invoke the die(), and it's hard to pinpoint the cause.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.