hexo-asset-pipeline icon indicating copy to clipboard operation
hexo-asset-pipeline copied to clipboard

Adding automated tests

Open ertrzyiks opened this issue 6 years ago • 3 comments

Hey @bhaskarmelkani

I'm using this plugin on my both blog instances and also I'm developing test utils for hexo here: https://github.com/ertrzyiks/hexo-test-utils

So I thought, I could help you cover this plugin with automated tests to prove utils in battle and add all missing functionality to those utils if we notice any. I can do actual coding part, but before I start I would like to get your consent. If you like the idea, we can discuss what testing framework to use etc.

Cheers, Mateusz

TODO list

  • [ ] cover html minifier
    • [x] enable option
    • [ ] exclude option
  • [ ] cover css minifier
    • [x] enable option
    • [ ] exclude option
  • [ ] cover js minifier
    • [ ] enable option
    • [ ] exclude option
  • [ ] cover image minifier
    • [ ] enable option
    • [ ] exclude option
  • [ ] cover revisioning

ertrzyiks avatar May 16 '18 09:05 ertrzyiks