View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032816 | mantisbt | tools | public | 2023-08-09 20:00 | 2023-10-31 16:32 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
Summary | 0032816: Use phpunit.xml to define Test Suites | ||||
Description | Until today, the test suites were defined in "AllTests.php" files using the PHPUnit\Framework\TestSuite class, which is meant for internal use. The official, documented method to compose a test suite is to use XML configuration (phpunit.xml). | ||||
Tags | No tags attached. | ||||
MantisBT: master f550281a 2023-08-09 19:52 Details Diff |
Define the Test Suites with a phpunit.xml file Until today, the test suites were defined in "AllTests.php" files using the PHPUnit\Framework\TestSuite class, which is meant for internal use. The official, documented method to compose a test suite is to use XML configuration. This commit introduces the phpunit.xml, which replaces the AllTests.php scripts, and updates documentation and TravisCI script. Fixes 0032816 |
Affected Issues 0032816 |
|
mod - build/travis_script.sh | Diff File | ||
mod - docbook/Developers_Guide/en-US/Contributors.xml | Diff File | ||
add - phpunit.xml | Diff File | ||
rm - tests/AllTests.php | Diff | ||
rm - tests/Mantis/AllTests.php | Diff | ||
rm - tests/rest/AllTests.php | Diff | ||
rm - tests/soap/AllTests.php | Diff |