Skip to content
Snippets Groups Projects
Commit 7e421fe9 authored by xamgore's avatar xamgore
Browse files

Defined the folders structure for unit-tests

parent e0f05c81
Branches
Tags
No related merge requests found
...@@ -4,4 +4,12 @@ Instruction: ...@@ -4,4 +4,12 @@ Instruction:
2. (From app/system dir) Tools -> Add dependency -> phpunit/phpunit -> install 2. (From app/system dir) Tools -> Add dependency -> phpunit/phpunit -> install
3. Settings -> Composer -> Path to bootstrap: /grade-rating/~dev_rating/system/composer.json 3. Settings -> Composer -> Path to bootstrap: /grade-rating/~dev_rating/system/composer.json
4. Go to any test from /app/tests folder 4. Go to any test from /app/tests folder
5. Right mouse click -> Run 5. Right mouse click -> Run
\ No newline at end of file
Notes:
1. All tests are stored in the `application/tests` folder.
2. Tree structure should be saved (like in `application/classes`).
3. Append `Test` to all scripts, i.e. `tests/classes/Model/DisciplineTest.php`
containing `Model_Discipline_Test` class.
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment