Closed tribals closed 5 years ago
Unfortunately, there is no tests - I can not figure out how to write kinda integration test for CLI tool, at least using unittest
. As for the unit tests, I think there is no need for it - the code is dead simple, it doesn't bring any changes to conversion algorithms.
@tribals -- I've refactored this and added test cases in the cli branch. Does this work for you?
@sanand0 I've played with it for a while - works just fine, thanks!
@tribals -- great, closing this and merging the cli
branch into master.
It is very usable package, but it is also very annoying to copy-paste same simple script again and again in every project I'm working on (that uses XML) to get the ability to quickly convert some unreadable messy XML to eye-pleasant well-formatted easily understandable JSON one.