Testing Command-Line Programs
Command-line applications need to be tested as well. You find tests in test_commandline.py.
The program word_counter.py calculates most frequent words in a test file. It can be used from the command line to calculate the top five words:
The ultimate test for any software is whether your users are able to do what they need to get done.
The User Acceptance test cannot be replaced by a machine.