N°5608 - Factorize all core modules tests to a single test suite

This commit is contained in:
Molkobain
2022-10-15 21:12:47 +02:00
parent bb674fb873
commit c0cee02351
2 changed files with 10 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
# Where should I add my test?
# PHP unitary tests
## Where should I add my test?
- Covers an iTop PHP class or method?
- Most likely in "unitary-tests".

View File

@@ -28,24 +28,15 @@
</php>
<testsuites>
<!-- Unitary tests -->
<testsuite name="Application">
<directory>unitary-tests/application</directory>
</testsuite>
<testsuite name="Core">
<directory>unitary-tests/core</directory>
</testsuite>
<!-- Important: For now this suite must be here and not with the other core module suites or it will crash the CI -->
<testsuite name="Authent-local">
<directory>unitary-tests/datamodels/2.x/authent-local</directory>
</testsuite>
<testsuite name="Integration">
<directory>integration-tests</directory>
</testsuite>
<testsuite name="Itop-Config">
<directory>unitary-tests/datamodels/2.x/itop-config</directory>
</testsuite>
<testsuite name="Itop-Tickets">
<directory>unitary-tests/datamodels/2.x/itop-tickets</directory>
<testsuite name="Datamodels">
<directory>unitary-tests/datamodels/2.x</directory>
</testsuite>
<testsuite name="Setup">
<directory>unitary-tests/setup</directory>
@@ -67,6 +58,11 @@
<testsuite name="Extensions">
<directory>../../env-production/*/test</directory>
</testsuite>
<!-- Integration tests -->
<testsuite name="Integration">
<directory>integration-tests</directory>
</testsuite>
</testsuites>
<!-- Code coverage white list -->