This directory contains automatic tests for vtenext.

# Official documentation

https://docs.phpunit.de/en/9.6/

# How can I run automatic tests?
```bash
composer install --dev --working-dir=../
./run
```

# How can I create a new unit test?

- Create a new file with the name of the class to test and suffix "Test" (eg. StringsTest.php).
- The class must extend TestCase (PHPUnit\Framework\TestCase).
- Each method of the class to test must be tested.
- If you are unable to test a method, create the empty test method and mark with a TODO.
Note: unit tests don't modify vte or the database


# How can I create a new functional test?

- Create a new file with the functionality to be tested and suffix "FTest" (eg. MailScannerFTest.php).
- The class must extend TestCase (PHPUnit\Framework\TestCase).
- All the possible functionality flows must be tested
- If you are unable to test a flow, create the empty test method and mark with a TODO.
Note: functional tests may modify vte or some database entries, use them carefully in production

// crmv@303843 - remove me
