PHPUnit/using PHPUnit: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== For Semantic MediaWiki == | == For Semantic MediaWiki == | ||
=== Test Suites === | |||
What are the test suites available? | |||
<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> | ||
- semantic-mediawiki-check | - semantic-mediawiki-check | ||
| Line 10: | Line 12: | ||
- semantic-mediawiki-structure | - semantic-mediawiki-structure | ||
- semantic-mediawiki-benchmark | - semantic-mediawiki-benchmark | ||
[[File:Grep benchmark testsuite screenshot.png|thumb|527x527px|grepping the PHPUnit configuration file for the definition of the semantic-mediawiki-benchmark test suite]] | |||
But where do those come from? What do they mean? What do they do? They are defined in <code>phpunit.xml.dist</code> so you could inspect that file for more details. | |||
== in a Docker Container == | == in a Docker Container == | ||