rydurham / L4withSentry

Laravel 4 and Sentry 2.0
300 stars 91 forks source link

Add documentation for tests and code coverage. #29

Closed jimthedev closed 10 years ago

jimthedev commented 10 years ago

Some progress on Issue #26.

rydurham commented 10 years ago

I am not that familiar with code coverage - looks interesting! Thanks!

jimthedev commented 10 years ago

@rydurham, No worries. All it really does it tell you about how much of your code is covered by tests. Currently, code coverage is probably 0%, but as tests are written, that will go up.

The Sublime plugin listed helps to show which lines or methods already have tests. It make it easy to visualize what blocks of your code are lacking tests. Obviously this doesn't tell you how good your tests are, so it is just a summary.

With the changes you merged today, this project could use Scrutinizer-ci and Travis-CI to ensure that code changes don't break existing tests, or if they do, we could rewrite the tests. Basically all of this should help the project eventually have good unit tests.

rydurham commented 10 years ago

Sounds great! Thanks!