html-validator icon indicating copy to clipboard operation
html-validator copied to clipboard

Test enhancement

Open peter279k opened this issue 5 years ago • 0 comments

Changed log

  • To support latest stable PHPUnit version easily, using the `PHPUnit\Framework\TestCase\ namesapce.
  • Removing the --dev option because this it's deprecated.

The deprecated warning message is as follows:

You are using the deprecated option "dev". Dev packages are installed by default now.
  • Using the the assertCount to assert expected count is same as result.
  • Using the ::class to make class instance during assertInstance assertion.
  • Removing unused namespace.
  • Using the require __DIR__ . '/../vendor/autoload.php'; directly on bootstrap.php and it will load required classes automatically.

peter279k avatar Nov 13 '19 07:11 peter279k