json4shell icon indicating copy to clipboard operation
json4shell copied to clipboard

Integration testing through some shell unit-testing framework

Open noway opened this issue 11 years ago • 2 comments

Maybe make integration tests directly with shell testing frameworks, instead of python? bin_tests.py currently implemented with python, and it's not very handy to edit and maintain. Some shell testing framework would be much better suited for this task. https://code.google.com/p/shunit2/ and https://bmizerany.github.io/roundup/ are nice candidates.

Also: https://stackoverflow.com/questions/971945/unit-testing-for-shell-scripts

noway avatar Jun 18 '14 00:06 noway

In addition to that some real-life testing with "journalctl -o json -f" would be much appreciated.

zabbal avatar Jun 18 '14 15:06 zabbal

journalctl -o json -f No journal files were found.

amarao avatar Jun 18 '14 16:06 amarao