Skip to content

all php unit tests not running on pre-commit or pre-push #1173

Answered by alexbaron
alexbaron asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the answer,

Actually, the unit tests are running. To prove it, I added this configuration to my phpunit.xml file:

<logging>
    <testdoxText outputFile="testdox.txt"/>
  </logging>

the testdox.txt is created and shows all the test results.

The test execution is really fast, so I thought they were not running. Maybe adding a summary of the executed tests could be a good idea.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@veewee
Comment options

Answer selected by alexbaron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants