ava-innersource / Liquid-Application-Framework-1.0-deprecated

Liquid is a framework to speed up the development of microservices
MIT License
25 stars 13 forks source link

feat(LightWorker): add unit tests #210

Open bruno-brant opened 4 years ago

bruno-brant commented 4 years ago

Add some unit tests for LightWorker.

Should be approved after #204.

bruno-brant commented 4 years ago

Added a few more tests, now we have good coverage of the code in LightWorker. Hacked around a bit (exposed a few private methods that should be called by derived classes independently, for instance) which helped me achieve a good amount of coverage.

There's a lot of code here that need refactoring and a lot of bad design choices that in later versions we need to remove.