Assertions are made in test methods. Errors The vbUnit framework is able to handle errors that are thrown in a test method, display them in the Test Runner window, and continue with testing. However, to prevent the VB debugger from opening a messagebox with a warning upon encountering an error, you need to change the IDE settings to break only on unhandled errors. To compare the various error trapping modes, study the TestvbUnit project. A test suite contains one or more fixtures and exposes them to the Test Runner or any other program.
Test suites can also contain other test suites.
To create an empty test suite, create a new class and paste the following code into it. Change the fixture names to match your fixture classes. As New TestSuite oSuite. New Fixture1 oSuite. Since the test projects need to be ActiveX DLLs or EXEs, it is necessary to have a little external executable to start them.