skip phpunit test class

Solutions on MaxInterview for skip phpunit test class by the best coders in the world

showing results for - "skip phpunit test class"
Jacobo
02 Feb 2020
1<?php
2use PHPUnit\Framework\TestCase;
3class SampleTest extends TestCase
4{
5    public function testSomething()
6    {
7        // Optional: Test anything here, if you want.
8        $this->assertTrue(true, 'This should already work.');
9
10        // Stop here and mark this test as incomplete.
11        $this->markTestIncomplete(
12          'This test has not been implemented yet.'
13        );
14    }
15}
16?>
17