Schlagwort-Archive: phpunit

PHPUnit: use different dataset on every test in a testcase

PHPUnit offers the possibility to perform tests based in database fixtures. The common way is like described in the PHPUnit documentation. But what if you just want to have a small and different dataset on every test? PHPUnit offers the … Weiterlesen

Veröffentlicht unter PHP, phpunit | Verschlagwortet mit , , , | Hinterlasse einen Kommentar

Convert phpmyadmin to phpunit xml format

It is always a pain to create datasets for testing. I know the code should make it possible to test without using the database, but this is not always the case. Phpmyadmin offers a good possibility to create datasets by … Weiterlesen

Veröffentlicht unter PHP, phpunit | Verschlagwortet mit , , , , | 2 Kommentare