📝 Update unit tests documentation

This commit is contained in:
Molkobain
2025-12-17 18:36:00 +01:00
parent 0b242d872a
commit ef8ade5d20

View File

@@ -2,9 +2,6 @@
Documentation on creating and maintaining tests in iTop. Documentation on creating and maintaining tests in iTop.
## Prerequisites ## Prerequisites
### PHPUnit configuration file ### PHPUnit configuration file
@@ -78,7 +75,8 @@ Example :
$oTagData->DBDelete(); $oTagData->DBDelete();
``` ```
Warning : when the condition is met the test is finished and following code will be ignored ! > [!WARNING]
> When the condition is met the test is finished and following code will be ignored !
Another way to do is using try/catch blocks, for example : Another way to do is using try/catch blocks, for example :
```php ```php