[Phpmyadmin-devel] PHPUnit tests and backupGlobals

Michal Čihař michal at cihar.com
Fri May 31 07:39:20 CEST 2013


Hi

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...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130531/13a7b52c/attachment.sig>


More information about the Developers mailing list