I know Python unittest. I have some experience using it for testing Python subprograms.
Now I need to add testing my command line application (not just a Python function) written in Python. I want to call it with certain arguments and certain input in stdin and test output in stdout.
How to integrate testing a command line tool with other unittest test cases?
Or what to use instead of unittest?
self.assertEqual,self.assertIn, ... in accepted answer? that's whypytest's doc says under features : "no need to rememberself.assert*names"