Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

I want to run only one Test file but my all test files are working when I upload the my test file.

Mustafa Olkun Oct 06, 2015 11:25AM CEST

The title explains itself but I will explain it with all details.

I use Android Studio and Robotium for run my tests.
I prepare many different kind of test scenario so There are many test classes in my project.
When I add a new feature to project, I run all of my test classes to understand whether there are any problem.
When I try to run my tests on genymotion, everything correctly works.

I am using "AssembleAndroidTest" code with gradle so that I get my test apk.
But this code export all test classes in my project, however; I don't want to run all of my test classes on Testdroid.
I only want to run only one class because when I change a feature, testdroid try to run all methods but actually I want test only one or two methods.

So what is the solution for that.

Thank you.

Up 1 rated Down
Ville-Veikko Nov 05, 2015 08:19AM CET Bitbar Testing help Agent

Basically you need to configure in your test script what test cases will be executed. This can be done easily either by dropping out those test cases you don't want to run by commenting those out.

Hopefully this helped.
Up 0 rated Down
olkun mustafa Nov 17, 2015 02:40PM CET
Thank you.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found