mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
code style last test cleanup review + enhance UI output and display only failed module dependencies real life test cleanup review: add more tests + refacto code review: enhance algo and APIs review: renaming enhance test coverage refactoring renaming + reorder functions/tests compute GetDependencyResolutionFeedback in Module class review2 : renaming things fix rebase + code formatting fix code formatting review changes refactoring: code cleanup/standardization/remove all prototype stuffs refactoring: code cleanup/standardization/remove all prototype stuffs add deps validation to extension ci job fix ci fix ci: test broken when dir to scan did not exist like production-modules fix tests module dependency validation moved in a core folder + cleanup dedicated unit/integration tests forget dependency computation optimization seen as too risky + keep only user friendly sort in case of setup error rebase on develop + split new sort computation apart from modulediscovery revert to previous legacy order + gather new module computation classes in a dedicated folder make validation work (dirty way) + cleanup make setup deterministic: complete dependency order with alphabetical one when 2 module elements are at same position final deps validation bases on DM and PHP classes init in beforeclass + read defined classes/interfaces by module module discovery classes renaming to avoid collision with customer DM definitions read module file data apart from ModuleDiscovery cleanup cleanup fix inconsistent module dependencies fix integration check save tmp work before trying to fetch other wml deps fix module dependencies fix DM filename typo rename ModuleXXX classes by iTopCoreModuleXXX to reduce collisions with extensions add phpdoc + add more tests module dependency optimization - refacto + dependency new sort order module dependency optimization - stop computation when no new dependency is resolved enhance module dependency computation for optimization and admin feedback
47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
|
|
bootstrap="unittestautoload.php"
|
|
backupGlobals="true"
|
|
colors="true"
|
|
columns="120"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnError="false"
|
|
stopOnFailure="false"
|
|
stopOnIncomplete="false"
|
|
stopOnRisky="false"
|
|
stopOnSkipped="false"
|
|
verbose="true"
|
|
printerClass="\Sempro\PHPUnitPrettyPrinter\PrettyPrinterForPhpUnit9"
|
|
>
|
|
|
|
<php>
|
|
<ini name="error_reporting" value="E_ALL"/>
|
|
<ini name="display_errors" value="On"/>
|
|
<ini name="log_errors" value="On"/>
|
|
<ini name="html_errors" value="Off"/>
|
|
<env name="PHPUNIT_PRETTY_PRINT_PROGRESS" value="true"/>
|
|
</php>
|
|
<!-- N°6949 - file dedicated to validate modules/extensions -->
|
|
<testsuites>
|
|
<testsuite name="ModuleIntegration">
|
|
<file>integration-tests/DictionariesConsistencyAfterSetupTest.php</file>
|
|
<file>integration-tests/DictionariesConsistencyTest.php</file>
|
|
<file>integration-tests/iTopModulesDependencyValidationServiceTest.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<!-- Code coverage white list -->
|
|
<filter>
|
|
<whitelist>
|
|
<file>../../core/apc-emulation.php</file>
|
|
<file>../../core/ormlinkset.class.inc.php</file>
|
|
<file>../../datamodels/2.x/itop-tickets/main.itop-tickets.php</file>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|