Files
iTop/tests/php-unit-tests
Pierre Goiffon 584cfa8cbf N°6274 Fix PHP Notices not caught in ItopDataTestCase PHPUnit
This was caused by the set_error_handler() done in DeprecatedCallsLog during startup

Now we are :
* not registering the handler if a PHPUnit test is running (based on a constant set in ItopTestCase::setUp)
* on registration only do it for the required notices
2023-05-04 17:08:47 +02: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".