Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f83c77

Browse files
Merge branch 'develop' of https://github.com/magento/devdocs_internal into am_63240
2 parents 27a19fc + 186a2e5 commit 4f83c77

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

guides/v2.0/install-gde/docker/docker-phpstorm-test.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ version: 2.0
1010
github_link: install-gde/docker/docker-phpstorm-test.md
1111
---
1212

13-
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.
1416

1517
{% include install/docker/docker-phpstorm.md %}
1618

@@ -21,7 +23,9 @@ Before you begin, make sure you have completed all of the following tasks:
2123
* [Set up your PhpStorm project]({{ page.baseurl }}install-gde/docker/docker-phpstorm-project.html)
2224

2325
<div class="bs-callout bs-callout-info" markdown="1">
24-
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.
2529
</div>
2630

2731
## Run unit tests from the command line
@@ -47,6 +51,7 @@ To run PHPUnit unit tests from the command line:
4751

4852
* To run a single test, replace `.` with the name of the PHP file that defines the tests to run.
4953
* 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.
5055

5156
## Run integration tests from the command line
5257
To run PHPUnit integration tests from the command line:
@@ -62,7 +67,8 @@ To run PHPUnit integration tests from the command line:
6267
/var/www/magento2/vendor/bin/phpunit /var/www/magento2/dev/tests/integration/testsuite/Magento/Integration/Model/Config/Integration
6368

6469
## Run PHPUnit tests from PhpStorm
65-
This section discusses one way to run PHPUnit tests in PhpStorm. For more information about defining tests, consult the PhpStorm documentation.
70+
This section discusses one way to run PHPUnit tests in PhpStorm.
71+
For more information about defining tests, consult the PhpStorm documentation.
6672

6773
### Set up and run a test
6874
To run PHPUnit tests from PhpStorm:
@@ -78,7 +84,8 @@ To run PHPUnit tests from PhpStorm:
7884

7985
![Run a sample unit test]({{ site.baseurl }}common/images/install_docker_php-storm_unit-searchdata.png)
8086

81-
Test results are displayed in the right pane. If errors display, see the next section.
87+
Test results are displayed in the right pane.
88+
If errors display, see the next section.
8289

8390
### Troubleshoot unit tests
8491
If your remote CLI interpreter or Xdebug options aren't set up properly, the following messages are displayed:
@@ -95,4 +102,4 @@ Also make sure Xdebug configuration options are set properly as discussed in [Cr
95102

96103
#### Next step
97104

98-
[Debug in PhpStorm and browser]({{ page.baseurl }}install-gde/docker/docker-phpstorm-debug.html)
105+
[Debug in PhpStorm and browser]({{ page.baseurl }}install-gde/docker/docker-phpstorm-debug.html)

0 commit comments

Comments
 (0)