Page 1 of 1

NUnit

Posted: Tue Jan 20, 2009 11:11 pm
by atom
Hiya,

Are test case's written using ranorex, compatible with Nunit ?
At the moment we use CruiseControl, NAnt, NUnit for our unit testing
We would like to interate GUI testing in the same process.
Id like to identify test case in Ranorex using the NUnit macros, and execute them via NAnt build files ... is this possible?


Thanks

Posted: Wed Jan 21, 2009 8:26 am
by Skarlso
Hi!

Yes. If you write your test case to be able to run under NUnit with [Test] and [TestFixture] and [Setup] etc... Ranorex will have no problem with it. The Ranorex under core is SharpDevelop so it is okey. Also in Ranorex 1.5 there is an NUnit integrated which you can reach under View -> Unit Test.

Sadly i cannot find this feature under 2.0. I too am using Nunit and Ranorex together.

Regards,
Gergely.

Posted: Wed Jan 21, 2009 9:57 am
by atom
Hi!

Wow sounds nice... i didnt want to have 2 seperate systems for Unit and GUI tests. BTW - how do you organise the execution of your test case's with NUnit? It seems there was a concept of Suite in NUnit but its been removed

Thanks
Clayton

Posted: Wed Jan 21, 2009 11:22 am
by Skarlso
I'm not sure i understand what you mean under organize.

I'm using folders like : Smoke Tests, Regression Tests, Test Cases, Benchmark Tests. This way when i write tests into each of these folders, under Nunit this will appear in a Tree view nice and organized.

I never used anything else to be honest :)

Gergely.