I want to write a testing program. It will open a special *.tests file and test direct program with tests from the file.
I need to:
- Run some program. e.g
./main -testing 45 563 67 - Listen to result.
How I can to do it? I want to run program main with some tests and listen to its result.