freesee_command_line Project is a sample of unit tests of command line options parser. To use you have to have boost libraries (or brew install boost).