CondeNast / purgely

A WordPress plugin to manage Fastly caching behavior and purging.
24 stars 9 forks source link

Better code coverage for project #2

Closed tollmanz closed 8 years ago

tollmanz commented 8 years ago

Code coverage is lacking. This PR will attempt to increase it dramatically.

tollmanz commented 8 years ago

I've changed code coverage to only report on the "library" code, the code in src/classes. Because the other code cannot be appropriately unit tested, there is no need to have it count against code coverage. Instead, I will likely introduce integration testing to cover the remaining code in the future.