mina/Markus — pull request #7 by mmargel (2012-11-26 02:24:42+00:00)
Title: Test runner

Here's the 2nd revision of the test runner.

I've updated it to meet the specs in the design document.

I also change the testrunner_data folder to sample_files, because the files there are really just there for testing purposes.
The rb_suite_x.rb files are different types of testing scripts:
rb_suite_1 is a normal testing suite, with 1 test per unit test.
rb_suite_2 is similar, but omits some information
rb_suite_3 has 1 large test, with several built in subtests. This is the type of result that would be generated if the instructor used a unit testing library to generate the results, and just returned the final report as the "actual" output.

calling "ruby testrunner.rb < sample_files/args.in" will run all the scripts.
You can call "ruby restrunner.rb test_name flag" to call them individually.

sample.out can be used as a sample output. It combines the results from all 3 testing suites.