You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This topic discusses how to run PHPUnit tests from the command line or from PhpStorm. For demonstration purposes, this topic discusses how to test Magento modules. Typically, you'll test your own modules; replace the paths shown in the examples with the paths to your test files.
13
+
This topic discusses how to run PHPUnit tests from the command line or from PhpStorm.
14
+
For demonstration purposes, this topic discusses how to test Magento modules.
15
+
Typically, you'll test your own modules; replace the paths shown in the examples with the paths to your test files.
14
16
15
17
{% include install/docker/docker-phpstorm.md %}
16
18
@@ -21,7 +23,9 @@ Before you begin, make sure you have completed all of the following tasks:
21
23
*[Set up your PhpStorm project]({{ page.baseurl }}install-gde/docker/docker-phpstorm-project.html)
The instructions in this topic are based on PhpStorm version 2016.3.2. If you use a different version, some steps might be different. Consult your PhpStorm documentation for details.
26
+
The instructions in this topic are based on PhpStorm version 2016.3.2.
27
+
If you use a different version, some steps might be different.
28
+
Consult your PhpStorm documentation for details.
25
29
</div>
26
30
27
31
## Run unit tests from the command line
@@ -47,6 +51,7 @@ To run PHPUnit unit tests from the command line:
47
51
48
52
* To run a single test, replace `.` with the name of the PHP file that defines the tests to run.
49
53
* If there is no `phpunit.xml`, use `phpunit.xml.dist` instead.
54
+
* Use `Ctrl`+`p`+`Ctrl`+`q` to exit or detach from a container and leave it running.
50
55
51
56
## Run integration tests from the command line
52
57
To run PHPUnit integration tests from the command line:
@@ -62,7 +67,8 @@ To run PHPUnit integration tests from the command line:
0 commit comments