### Running Many Tests Simultaneously

To create an application that can run various tests instead of just one, use the beginTestFrameworkMacro, runTestMacro, endTestFrameworkMacro, and runTestResultMacro in your own main routine:

    #include <itest.hpp>
    #include <runtest.hpp>

    class IMyTest: public ITest {
    public:
        ...
    protected:
        ...
    };
    class ISecondTest: public ITest {
    public:
        ...
    protected:
        ...
    };

    main(int argc, char **argv)
    {
        beginTestFrameworkMacro(argc, argv);
        runTestMacro(IMyTest);
        runTestMacro(ISecondTest);
        endTestFrameworkMacro();
        return (!runTestResultMacro());  // exit with 0 if test succeeded.
    }

If the code above were compiled and linked to create the application RunDummyTests, you would execute the application in the following way to run either IMyTTest or ISecondTest:

    RunDummyTests -t IMyTest -o "arguments to IMyTest are here"
    RunDummyTests -t ISecondTest -n 3 -e d -o "arguments to ISecondTest are here"