mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
📝 Update unit tests documentation
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
Documentation on creating and maintaining tests in iTop.
|
||||
|
||||
|
||||
|
||||
|
||||
## Prerequisites
|
||||
|
||||
### PHPUnit configuration file
|
||||
@@ -78,7 +75,8 @@ Example :
|
||||
$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 :
|
||||
```php
|
||||
|
||||
Reference in New Issue
Block a user