Skip to content

Instantly share code, notes, and snippets.

@mchelen
Last active October 2, 2016 21:55
Show Gist options
  • Save mchelen/828e74d3418cd2b55ee33ef30512a4e4 to your computer and use it in GitHub Desktop.
Save mchelen/828e74d3418cd2b55ee33ef30512a4e4 to your computer and use it in GitHub Desktop.
$ composer exec phpunit test/SampleTest.php
PHPUnit 5.5.5 by Sebastian Bergmann and contributors.
.. 2 / 2 (100%)
Time: 10 ms, Memory: 4.00MB
OK (2 tests, 6 assertions)
$ composer exec phpunit
PHPUnit 5.5.5 by Sebastian Bergmann and contributors.
W.. 3 / 3 (100%)
Time: 50 ms, Memory: 4.00MB
There was 1 warning:
1) Warning
No tests found in class "PHPUnit\Framework\TestCase".
WARNINGS!
Tests: 3, Assertions: 6, Warnings: 1.
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="foo">
<directory>test</directory>
</testsuite>
</testsuites>
</phpunit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment