Hi Alan,
This is definitely the right place! Also, feel free to use the nunit-discuss group, particularly now that NUnit and NUnitLite are converging.
The underlying idea of NUnitLite was that it would be standalone - not requiring any external runner in order to use it.
That said, I can understand the desire to use NUnitLite in order to execute tests. It's much more compact and has a more modern architecture than the NUnit framework itself. The single assembly already knows how to execute tests and return results, while the NUnit framework requires use of at least three other NUnit assemblies in order to run a test. This difference comes from the fact that NUnitLite already uses the architecture of the NUnit framework version 3.0, which has not yet been released.
Currently, NUnitLite implements the ITestListener interface, which looks like this:
public interface ITestListener
{
void TestStarted(ITest test);
void TestFinished(ITestResult result);
void TestOutput(TestOutput testOutput);
}
It should be relatively easy for you to develop a wrapper for NUnitLite, which implements these methods and passes the necessary info through a port. NUnit 3.0 will eventually do this for you, using an XML representation of the information, so it may make sense to use the same approach yourself. Take a look at the source for nunit-3.0 for some guidance. If I were doing it, I would create the wrapper object as part of my tests, since NUnitLite tests are in the form of an executable anyway. Just derive a class from TextUI and send the output wherever you like.
BTW, I'm shocked to see how old this thread is. I really need to get out a 1.0 version soon, so I'll rephrase the original question for anyone reading and I'll also ask it on nunit-discuss...
What is the MINIMAL feature set needed to take NUnitLite out of beta and call it 1.0?
I ask it this way because I'd really like to get entirely focused on the next version of NUnitLite, which will be called 3.0 to match NUnit.
Charlie