Passing data to a test within a custom test runner
Hi
I'm attempting to write a custom NUnit test runner to integrate into our application and I've managed to get a TestRunner object created and running some tests. Next I would like to be able to pass some data into the TestRunner for the tests to use.
At the moment I have created a class that implements IService and I add an instance into the NUnit ServiceManager class. A setup method, test method, etc, then uses the ServiceManager.
This seems to work, but I was wondering if this is the correct way to do this. Are there any easier/
Kind Regards
Michael
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- NUnit V2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Michael for more information if necessary.