I know how to run complete NUnit assemblies from C# Code
TestPackage testPackage = new TestPackage(assemblyName);
RemoteTestRunner remoteTestRunner = new RemoteTestRunner();
remoteTestRunner.Load(testPackage);
TestResult testResult = remoteTestRunner.Run(new NullListener(), TestFilter.Empty, false, LoggingThreshold.Error);
But how can I run single TestFixtures or even Single Tests?
Thanks to @Tony Hopkinson I found the solution.
I just had to create a class inheriting from
TestFilterand overwrite theMatchfunction in there.And then call the
remoteTestRunner.Runwith it as parameter.