Call NUnit test by Ranorex

Ask general questions here.
wuyue0213
Posts: 3
Joined: Tue Sep 25, 2012 10:50 am

Call NUnit test by Ranorex

Post by wuyue0213 » Fri Sep 28, 2012 8:04 am

Hi,

I was trying to integrate NUnit with Ranorex and I was reading this blog:
http://www.ranorex.com/blog/using-nunit ... -execution
I think it's about how to run the Ranorex recorded/automated testcases from NUnit.

However I don't find it very clear that how can we actually call NUnit test case directly from Ranorex.

What I do now is recording the following steps:
1) Launch Nunit application
2) Go to "Test1" and Run the test.

But what I really want to achieve is to call "Test1" directly from Ranorex...not through this recorded UI navigation.

Thanks in advance!

Regards,
May

User avatar
artur_gadomski
Posts: 207
Joined: Mon Jul 19, 2010 6:55 am
Location: Copenhagen, Denmark
Contact:

Re: Call NUnit test by Ranorex

Post by artur_gadomski » Fri Sep 28, 2012 10:30 am

I would expect that you just need to run the NUnit test runner. MSTest or such with proper arguments specifying which NUnit tests files to run. So find out how to run your NUnit tests from command line and do that in Ranorex.

Out of curiosity why would you want to run NUnit tests from Ranorex tests?