When starting a repository with a new Laravel 5.5 installation and configuring the test coverage and Coveralls for this, even though you have only done scaffolding of the framework authentication and have not written a single line of code, the return is which has only 33.33% of test coverage with the following report:
Found 13 source files:
- 100.00% app / Console / Kernel.php
- 0.00% app / Exceptions / Handler.php
- 0.00% app / Http / Controllers / Auth / ForgotPasswordController.php
- 0.00% app / Http / Controllers / Auth / LoginController.php
- 0.00% app / Http / Controllers / Auth / RegisterController.php
- 0.00% app / Http / Controllers / Auth / ResetPasswordController.php
- 0.00% app / Http / Controllers / HomeController.php
- 0.00% app / Http / Middleware / RedirectIfAuthenticated.php
- 100.00% app / Providers / AppServiceProvider.php
- 100.00% app / Providers / AuthServiceProvider.php
- 0.00% app / Providers / BroadcastServiceProvider.php
- 100.00% app / Providers / EventServiceProvider.php
- 100.00% app / Providers / RouteServiceProvider.php Coverage: 33.33% (24/72)
All of these classes should probably be testing coverage in the framework repository. The question would be, should I do the unit tests for all these classes not covered in my own test suite or do I seek to disable the testing coverage check for these classes? Mainly the framework itself as BroadcastServiceProvider, Handler, etc.?