copyhackers / airstory-wp

Send your blog posts from Airstory writing software to WordPress for publication.
https://wordpress.org/plugins/airstory
MIT License
4 stars 1 forks source link

WIP: Improved test coverage #50

Closed stevegrunwell closed 6 years ago

stevegrunwell commented 7 years ago

Maybe it's because 70% coverage is only enough to get a "red" badge, but the coverage reports provided by CodeClimate can be a great way to highlight areas that aren't well-covered by our unit tests. 100% coverage isn't necessary, but when there are pieces of logic that are left entirely uncovered that can be a sign that we haven't considered all possibilities.

Test Coverage

This is something of a rolling PR, improving test coverage throughout the plugin.

stevegrunwell commented 6 years ago

Closing this PR, as the entire test suite will be converted to the WordPress core test suite at some point in the future (#76).