Skip to content

Commit

Permalink
Skip tests with no code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeccati committed Apr 8, 2024
1 parent 0c23333 commit 5d8c171
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
--TEST--
The right events are emitted in the right order for a successful test that targets a trait with #[CoversClass]
--SKIPIF--
<?php declare(strict_types=1);
if (!extension_loaded('pcov') && !extension_loaded('xdebug')) {
print "skip: this test requires pcov or xdebug\n";
}
--FILE--
<?php declare(strict_types=1);
$traceFile = tempnam(sys_get_temp_dir(), __FILE__);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
--TEST--
The right events are emitted in the right order for a successful test that targets a trait with #[CoversClass]
--SKIPIF--
<?php declare(strict_types=1);
if (!extension_loaded('pcov') && !extension_loaded('xdebug')) {
print "skip: this test requires pcov or xdebug\n";
}
--FILE--
<?php declare(strict_types=1);
$traceFile = tempnam(sys_get_temp_dir(), __FILE__);
Expand Down

0 comments on commit 5d8c171

Please sign in to comment.