These tests create a test assembly from a snippet of code and then load and run the tests that it contains. For this demo, a compilation error has been introduced in order to show the error reporting.
| NUnit.Fixtures.TestLoadFixture | |||||
| Code | Tree() | Run() | Skipped() | Ignored() | Failures() | 
| public class TestClass
{
} | EMPTY | 0 | 0 | 0 | 0 | 
| using NUnit.Framework;
[TestFixture]
public class TestClass
{
} | TestClass | 0 | 0 | 0 | 0 | 
| using NUnit.Framework;
[TestFixture]
public class TestClass
{
    [Test]
    public void T1() { }
    [Test]
    public void T2() { }
    [Test]
    public void T3() { }
} | TestClass >T1 >T2 >T3 | 3 | 0 | 0 | 0 | 
| using NUnit.Framework;
[TestFixture]
public class TestClass1
{
    [Test]
    public void T1() { }
}
[TestFixture]
public class TestClass2
{
    [Test]
    public void T2() { }
    [Test]
    public void T3() { }
} | TestClass1 >T1 TestClass2 >T2 >T3 | 3 | 0 | 0 | 0 | 
| using NUnit.Framework;
[TestFixture]
public class TestClass
{
    [Test]
    public void T1() { }
    [Test, Ignore]
    public void T2() { }
    [Test]
    public void T3() { }
} | TestClass >T1 >T2 >T3 | 2 | 0 | 1 | 0 | 
| using NUnit.Framework;
[TestFixture]
public class TestClass
{
    [Test]
    public void T1() { }
    [Test, Explicit]
    public void T2() { }
    [Test]
    public void T3() { }
} | TestClass >T1 >T2 >T3 | 2 | 1 | 0 | 0 |