.gitのプロジェクトルートに.gitlab-ci.ymlを設置する PHPUnitによる単体テスト composer installによるビルドテスト .gitlab-ci.yml image: php:7.1-alpine stages: – build_test – unit_test composer: stage: build_test im …
タグ: PHPUnit
Laravel PHPUnit Error ‘Class Tests\TestCase not found’
![](https://www.yuulinux.tokyo/contents/wp-content/uploads/2019/01/laravel_20190131_1.jpg)
‘Class Tests\TestCase not found’というエラーが出た。 autoloadが効いていないっぽい? 環境 Mac Docker app/tests/ExampleTest.php <?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Ill …