Skip to content
CharliePoole edited this page Jun 4, 2020 · 3 revisions

The TC-Lite assembly contain both the test framework and a console runner. The test assembly should be created as a console exe with a Main(), which creates an instance of TestRunner and calls its Execute method passing along the arguments provided. For example...

public int Main(string[] args)
{
    return new TCLite.Runners.TestRunner().Execute(args);
}

The TestRunner class will interpret the arguments passed in and take the required action. By default, with no arguments, it will simply run all your tests, display the results to the console and save them in an xml file in the NUnit3 format.

Project Vision

Clone this wiki locally