I have few unit tests setup using juit in unittest1.java unittest2.java unittest3.java in android.
I want unittest1 and unittest2 not run when I am writing unittest3.java. Is there a way to do that. Googgling did not yield much.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just go inside your
unittest3.javaand click Ctrl+F11 for Run or F11 for Debug. This will run only tests inside current class.Also, you can setup Run/Debug configurations manually. Assuming I have
MacTest.javafile with MacTest class inside: