[TYPO3-team-templavoila] Unit tests on test-database - any suggestions? (#11173 )

Daniel Pšötzinger nospam at nospam.de
Tue May 26 14:50:28 CEST 2009


Michael Klapper schrieb:
> Hi together,
> 
> i really like to see the TV test using a test database (temporary 
> instance). The reasons for that are quite simple. If i use such a test 
> database i'm every time sure that i have no side effects between the 
> test. Sometimes i fix a bug or a develop a new feature on a real (in 
> development) project and i also would like to run the test but not that 
> they leave data in the working database.
> 
+1
We really should move the tests to use the testdatabase feature the 
phpunit extension ships with.

So even if tests are executed on production page its ok.
If the testdatabase could not be created the tests could simple be skipped.

That should be the cleanest way.


More information about the TYPO3-team-templavoila mailing list