rosell-dk / webp-convert

Convert jpeg/png to webp with PHP (if at all possible)
MIT License
580 stars 102 forks source link

Improve test coverage #136

Closed rosell-dk closed 5 years ago

rosell-dk commented 5 years ago

With the major refactoring, there are dangers that some things are not working. The library should be tested thoroughly before releasing 2.0. And what better way to do it than writing test cases?

Test coverage is currently 37%, btw.

rosell-dk commented 5 years ago

Up on 51% now. Aiming for at least 60%. It shall help a lot to get Gd, imagick and vips installed on Travis!

rosell-dk commented 5 years ago

https://scrutinizer-ci.com/g/rosell-dk/webp-convert/code-structure/master/code-coverage/src/Convert/Converters/

rosell-dk commented 5 years ago

On 62% locally (where all converters are operational), but only 53.5% on travis. It will have to do for now.