From 2084dcf99ce5a3ca03c136e81074c17c56a51c32 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 4 Jun 2016 18:52:41 +0200 Subject: [PATCH] Mention javascript testing --- tests.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests.md b/tests.md index 8520b17..1ea7d49 100644 --- a/tests.md +++ b/tests.md @@ -8,4 +8,8 @@ This application uses PHPUnit as unit testing framework. The PHPUnit directory i ### Modules -Every module needs to have a `Admin` directory containing a class called `AdminTest.php` which is used for testing the installation, activation, deactivation, uninstall and remove of the module. Tests that install, update, remove etc. a module need to have a group called `admin`. After running the `AdminTest.php` test the final state of the module should be installed and active, only this way it's possible to further test the controller and models. A code coverage of 80% is mandatory for every module for integration. \ No newline at end of file +Every module needs to have a `Admin` directory containing a class called `AdminTest.php` which is used for testing the installation, activation, deactivation, uninstall and remove of the module. Tests that install, update, remove etc. a module need to have a group called `admin`. After running the `AdminTest.php` test the final state of the module should be installed and active, only this way it's possible to further test the controller and models. A code coverage of 80% is mandatory for every module for integration. + +## Jasmine + +The javascript testing is done with jasmine. The javascript testing directory is structured the same way as the `Framework`. Unit tests for specific classes need to be named in the same manner as the testing class. \ No newline at end of file