Jnario for Android (using JUnit 3)?

41 views
Skip to first unread message

Ian Warwick

unread,
Jul 31, 2013, 4:44:44 AM7/31/13
to jna...@googlegroups.com
Hi,

I tried to get Jnario running in an Android project in Eclipse but for some reason it does not recognise that I am using JUnit 3. Instead of using the the Jnario Library I manually added the required dependencies to a /libs folder (since this is the way Android Projects manage dependencies).

I created a simple scenario which I can see that some stubs are generated but without any JUnit 3 related code.

Is there something else I need to do to tell Jnario to use JUnit 3?

Regards,

Ian

Sebastian Benz

unread,
Jul 31, 2013, 4:48:33 AM7/31/13
to jna...@googlegroups.com
Hi,

Jnario automatically selects JUnit 3 if there are no JUnit 4 classes on the classpath. Hence, you need to add a JUnit 3 lib to the classpath and not a JUnit 4 lib. 

Sebastian


--
You received this message because you are subscribed to the Google Groups "Jnario" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jnario+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Fluxtah

unread,
Oct 17, 2013, 9:25:57 AM10/17/13
to jna...@googlegroups.com
Hi This is great but the Jnario Library bundles JUnit 4 so its not possible to not use JUnit4 unless you remove Jnario Library.

Regards,

Ian




This is an e-mail from the company Just-Eat Holding Ltd. This e-mail may contain confidential information and/or privileged or personal advice. This e-mail is intended for the addressee(s) stated above only. If you receive this e-mail by mistake, please return it to Just-Eat Holding Ltd without producing, distributing or retaining copies hereof. Thank you.

Sebastian Benz

unread,
Oct 20, 2013, 12:46:38 PM10/20/13
to jna...@googlegroups.com
The Jnario library should not bundle JUnit. Could you please let me know which one you are using?

Sebastian
Reply all
Reply to author
Forward
0 new messages