PHPUnit/using PHPUnit: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:


=== Test Suites ===
=== Test Suites ===
What are the test suites available?
PHPUnit Test Suites are logical groups of files and/or directories that you can feed to PHPUnit for testing.
 
What are the test suites available to developers/testers in the SemanticMediaWiki codebase? The '''<code>list-suites</code>''' option will tell us.


<code>php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php --list-suites</code>
<code>php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php --list-suites</code>