I want to perform integration tests on a command line program that is supported on multiple platforms.
For example, if I am writing a mercurial plugin and want to test it from the top level, how could I create a test suite which will run on Windows, Linux, and OS X?
Alternatively, should I just write tests that use the highest level functions in the code and just perform basic sanity checks on the final program?