Is NUNIT3.0 and RemoteTestRunner/NUnitEventListener a wise option?

146 views
Skip to first unread message

Jan Van den Borst

unread,
May 27, 2015, 11:12:04 AM5/27/15
to nunit-...@googlegroups.com
Hi All
I'm currently designing a testsuite that interfaces with an ALM tool (polarion). A testplan with testcases is retrieved from the ALM tool, tests are executed and results are uploaded.

I made a custom testrunner based on the RemoteTestRunner class. I use a NUnitEventListener for hooking into NUnit. The listener also hooks into the logger (log4net) so I have the test result as well as the logging of a particular test available. Testresult and testcase logging is uploaded to the ALM tool after test execution.

The implementation is using NUNIT 2.6.4 and works like a charm. However is this (using RemoteTestRunner , NUnitEventListener ) still a wise option for NUNIT 3.0 or should I take a different approach in 3.0?

Regards
Jan

Charlie Poole

unread,
May 27, 2015, 11:19:02 AM5/27/15
to NUnit-Discuss
Hi Jan,

It's not so much a question of the implementation being wise, since
it's no longer possible with .NET 3.0.

You will have a bit of a learning curve to make this work with NUnit
3.0, but I think the end result should be better. Take a look at the
test execution API now exposed by the NUnit Test Engine. You'll find
this in the nunit.engine.api assembly.

For documentation, start here: https://github.com/nunit/dev/wiki/Test-Engine-API

However, this is unfinished documentation right now so, where links
fail, you will have to look at the intellisense or the source code
itself.

In the end, you will be using a public and published API rather than
an internal NUnit class as you are now. I think this is going to be a
big improvement for those who want to use NUnit programmatically.

Charlie
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nunit-discus...@googlegroups.com.
> To post to this group, send email to nunit-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/nunit-discuss.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages