Files
iTop/tests/php-unit-tests
Pierre Goiffon 48e7e0309a N°6638 Fix DictionariesConsistencyTest::testImportCsvMessageStillOk not run on Jenkins
Was contained in a class with a beforeSetup group annotation, whereas it tries to read files in env-production (!)
Plus the dataprovider was using APPROOT const + utils class, which aren't available by default :(
=> Fixed by moving in a dedicated class (CompiledDictionariesConsistencyTest) and removing the dataprovider
2023-08-08 15:30:01 +02:00
..
2023-03-17 18:28:47 +01:00

PHP unitary tests

Where should I add my test?

  • Covers an iTop PHP class or method?
    • Most likely in "unitary-tests".
  • Covers the consistency of some data through the app?
    • Most likely in "integration-tests".