[Phpmyadmin-devel] PHPUnit tests and backupGlobals
michal at cihar.com
Fri May 31 07:39:20 CEST 2013
Dne Thu, 30 May 2013 17:36:20 +0530
Madhura Jayaratne <madhura.cj at gmail.com> napsal(a):
> If I understand correctly, when backupGlobals is set to true, before each
> test globals are backed up and restored after test execution. So any
> changes done to globals by the test do not propagate to the next test.
> Ideally each test should setup variables required for it and should not
> depend on other tests to set up variable values.
I think this is reasonable to enable - there might be many hidden
consequences with shared globals.
Michal Čihař | http://cihar.com | http://phpmyadmin.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Developers