Skip to content

Commit

Permalink
bug #5501 Fix typo in url for PHPUnit test coverage report (TrueGit)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.7 branch.

Discussion
----------

Fix typo in url for PHPUnit test coverage report

| Q                 | A
| -------------    | ---
| Doc fix?        | yes
| New docs?   | no
| Applies to     | 2.7
| Fixed tickets | NA?

In symfony-docs/create_framework/unit-testing.rst, on topic of using
PHPUnit to create a test coverage report, it appears the path to the
report should be "example.com/cov/src/Simplex/Framework.php.html"
instead of "example.com/cov/src_Simplex_Framework.php.html".

Commits
-------

e5ea3f0 Fix typo in url for PHPUnit test coverage report
  • Loading branch information
wouterj committed Jul 23, 2015
2 parents 2437bd9 + e5ea3f0 commit e9a9368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_framework/unit-testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ coverage feature (you need to enable `XDebug`_ first):
$ phpunit --coverage-html=cov/
Open ``example.com/cov/src_Simplex_Framework.php.html`` in a browser and check
Open ``example.com/cov/src/Simplex/Framework.php.html`` in a browser and check
that all the lines for the Framework class are green (it means that they have
been visited when the tests were executed).

Expand Down

0 comments on commit e9a9368

Please sign in to comment.