Skip to content

Commit 728af88

Browse files
committed
add documentation about running all the tests
1 parent 1e9c534 commit 728af88

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ Integrates atoum into PhpStorm.
44

55
Features :
66

7-
* Go to the test class from the tested class (shortcut : alt+shift+K)
8-
* Go to the tested class from the test class (shortcut : alt+shift+K)
9-
* Execute tests inside PhpStorm (shortcut : alt+shift+M)
7+
* Go to the test class from the tested class (shortcut: alt+shift+K)
8+
* Go to the tested class from the test class (shortcut: alt+shift+K)
9+
* Execute tests inside PhpStorm (shortcut: alt+shift+M)
10+
* Execute all project's test inside PhpStorm (shortcut: alt+shift+V)
1011
* Easily identify test files by a custom icon
1112

1213

@@ -73,6 +74,15 @@ Atoum's test files are displayed with a different icon, like that you will easil
7374
![Demo](doc/custom_icon-tree.png)
7475

7576

77+
### Execute all tests inside PhpStorm
78+
79+
The plugin lets you run all your project's test suites inside PhpStorm. You can run them by selecting "run -> atoum - run all tests" (or with the default keyboard shortcut : alt+shift+V).
80+
81+
atoum will be launched without a directory or file parameter, so, you will need to add something like this in your `.atoum.php` file in order to run all the tests : `$runner->addTestsFromDirectory(__DIR__ . '/tests/units');`.
82+
83+
![Demo](doc/all.png)
84+
85+
7686
## Installation
7787

7888
### Inside PhpStorm (recommended)

doc/all.png

38.1 KB
Loading

0 commit comments

Comments
 (0)