Firebase VDT does not run Gherkin (Cucumber) testsIs there a way to run Python on Android?How to check if a service is running on Android?Run/install/debug Android applications over Wi-Fi?NoClassDefFoundError of a source file in Android Test on IntelliJCan I extend a custom Application in Espresso?“Animators may only be run on Looper threads” during on-device intrumentation testingUiAutomator picking app to test from app drawerAndroid instrumentation tests with Mockito@ Variables empty in Gherkins/Cucumber testConverting UnitTest to Instrumentation Test in android studio
What's a natural way to say that someone works somewhere (for a job)?
Efficiently merge handle parallel feature branches in SFDX
Can somebody explain Brexit in a few child-proof sentences?
How could Frankenstein get the parts for his _second_ creature?
Confused about a passage in Harry Potter y la piedra filosofal
Are there any comparative studies done between Ashtavakra Gita and Buddhim?
Your magic is very sketchy
Is HostGator storing my password in plaintext?
What defines a dissertation?
Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?
Greatest common substring
Everything Bob says is false. How does he get people to trust him?
Is there a problem with hiding "forgot password" until it's needed?
How does it work when somebody invests in my business?
Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?
Understanding "audieritis" in Psalm 94
Using parameter substitution on a Bash array
Is there any reason not to eat food that's been dropped on the surface of the moon?
Can criminal fraud exist without damages?
Lay out the Carpet
How can I replace every global instance of "x[2]" with "x_2"
How do I define a right arrow with bar in LaTeX?
What is the oldest known work of fiction?
Ways to speed up user implemented RK4
Firebase VDT does not run Gherkin (Cucumber) tests
Is there a way to run Python on Android?How to check if a service is running on Android?Run/install/debug Android applications over Wi-Fi?NoClassDefFoundError of a source file in Android Test on IntelliJCan I extend a custom Application in Espresso?“Animators may only be run on Looper threads” during on-device intrumentation testingUiAutomator picking app to test from app drawerAndroid instrumentation tests with Mockito@ Variables empty in Gherkins/Cucumber testConverting UnitTest to Instrumentation Test in android studio
I'm running integration tests with VDT.
I build the two APKs and then I send them following the tutorial that is referenced here: https://firebase.google.com/docs/test-lab/android/continuous for Bitrise.
Firebase successfully runs my non-Cucumber tests but it just ignores the Cucumber tests.
When I install the APKs on my device I see all the tests running.
I checked and the Runner in the APK is set to MultiDexCucumberJUnitRunner
.
To know the runner that is used in the androidTest apk I did this:
- Install the APK that I'm sending to Firebase
- Run
adb shell pm list instrumentation
Then I see the line:instrumentation:my.package.name.test/.MultiDexCucumberJUnitRunner (target=my.package.name)
This is the MultiDexCucumberJUnitRunner that I have integrated into the app:
https://gist.github.com/dhoskins/98afa6976c87cb20328d42065c7292ee
Do you know how I can investigate why the tests are not running? Have you had this issue too?
EDIT
Now I know that I can make it working turning the Orchestrator off. Is there a way to run Cucumber test using the Orchestrator?
When the Orchestrator is on, this is the result of the tests:
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream= no
tests found: INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test= INSTRUMENTATION_STATUS: class=no tests
found INSTRUMENTATION_STATUS: current=1 INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream=
Error in no tests found: java.lang.ClassNotFoundException: Invalid
name: no tests found at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400) at
android.support.test.internal.runner.TestLoader.doCreateRunner(TestLoader.java:72)
at
android.support.test.internal.runner.TestLoader.getRunnersFor(TestLoader.java:104)
at
android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:789)
at
android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:539)
at
android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:382)
at
my.package.name..app4test.test.MultiDexCucumberJUnitRunner.onStart(MultiDexCucumberJUnitRunner.kt:25)
at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
android cucumber firebase-test-lab
add a comment |
I'm running integration tests with VDT.
I build the two APKs and then I send them following the tutorial that is referenced here: https://firebase.google.com/docs/test-lab/android/continuous for Bitrise.
Firebase successfully runs my non-Cucumber tests but it just ignores the Cucumber tests.
When I install the APKs on my device I see all the tests running.
I checked and the Runner in the APK is set to MultiDexCucumberJUnitRunner
.
To know the runner that is used in the androidTest apk I did this:
- Install the APK that I'm sending to Firebase
- Run
adb shell pm list instrumentation
Then I see the line:instrumentation:my.package.name.test/.MultiDexCucumberJUnitRunner (target=my.package.name)
This is the MultiDexCucumberJUnitRunner that I have integrated into the app:
https://gist.github.com/dhoskins/98afa6976c87cb20328d42065c7292ee
Do you know how I can investigate why the tests are not running? Have you had this issue too?
EDIT
Now I know that I can make it working turning the Orchestrator off. Is there a way to run Cucumber test using the Orchestrator?
When the Orchestrator is on, this is the result of the tests:
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream= no
tests found: INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test= INSTRUMENTATION_STATUS: class=no tests
found INSTRUMENTATION_STATUS: current=1 INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream=
Error in no tests found: java.lang.ClassNotFoundException: Invalid
name: no tests found at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400) at
android.support.test.internal.runner.TestLoader.doCreateRunner(TestLoader.java:72)
at
android.support.test.internal.runner.TestLoader.getRunnersFor(TestLoader.java:104)
at
android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:789)
at
android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:539)
at
android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:382)
at
my.package.name..app4test.test.MultiDexCucumberJUnitRunner.onStart(MultiDexCucumberJUnitRunner.kt:25)
at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
android cucumber firebase-test-lab
What I've found now is that the tests run if I disable the Orchestrator. Is it possible to run Cucumber tests with the Orchestrator?
– 65536
Mar 8 at 15:37
add a comment |
I'm running integration tests with VDT.
I build the two APKs and then I send them following the tutorial that is referenced here: https://firebase.google.com/docs/test-lab/android/continuous for Bitrise.
Firebase successfully runs my non-Cucumber tests but it just ignores the Cucumber tests.
When I install the APKs on my device I see all the tests running.
I checked and the Runner in the APK is set to MultiDexCucumberJUnitRunner
.
To know the runner that is used in the androidTest apk I did this:
- Install the APK that I'm sending to Firebase
- Run
adb shell pm list instrumentation
Then I see the line:instrumentation:my.package.name.test/.MultiDexCucumberJUnitRunner (target=my.package.name)
This is the MultiDexCucumberJUnitRunner that I have integrated into the app:
https://gist.github.com/dhoskins/98afa6976c87cb20328d42065c7292ee
Do you know how I can investigate why the tests are not running? Have you had this issue too?
EDIT
Now I know that I can make it working turning the Orchestrator off. Is there a way to run Cucumber test using the Orchestrator?
When the Orchestrator is on, this is the result of the tests:
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream= no
tests found: INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test= INSTRUMENTATION_STATUS: class=no tests
found INSTRUMENTATION_STATUS: current=1 INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream=
Error in no tests found: java.lang.ClassNotFoundException: Invalid
name: no tests found at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400) at
android.support.test.internal.runner.TestLoader.doCreateRunner(TestLoader.java:72)
at
android.support.test.internal.runner.TestLoader.getRunnersFor(TestLoader.java:104)
at
android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:789)
at
android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:539)
at
android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:382)
at
my.package.name..app4test.test.MultiDexCucumberJUnitRunner.onStart(MultiDexCucumberJUnitRunner.kt:25)
at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
android cucumber firebase-test-lab
I'm running integration tests with VDT.
I build the two APKs and then I send them following the tutorial that is referenced here: https://firebase.google.com/docs/test-lab/android/continuous for Bitrise.
Firebase successfully runs my non-Cucumber tests but it just ignores the Cucumber tests.
When I install the APKs on my device I see all the tests running.
I checked and the Runner in the APK is set to MultiDexCucumberJUnitRunner
.
To know the runner that is used in the androidTest apk I did this:
- Install the APK that I'm sending to Firebase
- Run
adb shell pm list instrumentation
Then I see the line:instrumentation:my.package.name.test/.MultiDexCucumberJUnitRunner (target=my.package.name)
This is the MultiDexCucumberJUnitRunner that I have integrated into the app:
https://gist.github.com/dhoskins/98afa6976c87cb20328d42065c7292ee
Do you know how I can investigate why the tests are not running? Have you had this issue too?
EDIT
Now I know that I can make it working turning the Orchestrator off. Is there a way to run Cucumber test using the Orchestrator?
When the Orchestrator is on, this is the result of the tests:
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream= no
tests found: INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test= INSTRUMENTATION_STATUS: class=no tests
found INSTRUMENTATION_STATUS: current=1 INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream=
Error in no tests found: java.lang.ClassNotFoundException: Invalid
name: no tests found at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400) at
android.support.test.internal.runner.TestLoader.doCreateRunner(TestLoader.java:72)
at
android.support.test.internal.runner.TestLoader.getRunnersFor(TestLoader.java:104)
at
android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:789)
at
android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:539)
at
android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:382)
at
my.package.name..app4test.test.MultiDexCucumberJUnitRunner.onStart(MultiDexCucumberJUnitRunner.kt:25)
at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
android cucumber firebase-test-lab
android cucumber firebase-test-lab
edited Mar 11 at 12:02
65536
asked Mar 7 at 11:33
6553665536
100112
100112
What I've found now is that the tests run if I disable the Orchestrator. Is it possible to run Cucumber tests with the Orchestrator?
– 65536
Mar 8 at 15:37
add a comment |
What I've found now is that the tests run if I disable the Orchestrator. Is it possible to run Cucumber tests with the Orchestrator?
– 65536
Mar 8 at 15:37
What I've found now is that the tests run if I disable the Orchestrator. Is it possible to run Cucumber tests with the Orchestrator?
– 65536
Mar 8 at 15:37
What I've found now is that the tests run if I disable the Orchestrator. Is it possible to run Cucumber tests with the Orchestrator?
– 65536
Mar 8 at 15:37
add a comment |
1 Answer
1
active
oldest
votes
Support for the Orchestrator seems to be added for android cucumber version 4.2.4. You can try to integrate CucumberAndroidJUnitRunner
from the library instead of MultiDexCucumberJUnitRunner
from the gist.
In case your project is not AndroidX yet, change androidx.test.runner.AndroidJUnitRunner
to android.support.test.runner.AndroidJUnitRunner
they should have the same implementation.
I am trying to use the cucumber-android4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.
– Kaskasi
Mar 13 at 18:05
1
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55042802%2ffirebase-vdt-does-not-run-gherkin-cucumber-tests%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Support for the Orchestrator seems to be added for android cucumber version 4.2.4. You can try to integrate CucumberAndroidJUnitRunner
from the library instead of MultiDexCucumberJUnitRunner
from the gist.
In case your project is not AndroidX yet, change androidx.test.runner.AndroidJUnitRunner
to android.support.test.runner.AndroidJUnitRunner
they should have the same implementation.
I am trying to use the cucumber-android4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.
– Kaskasi
Mar 13 at 18:05
1
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
add a comment |
Support for the Orchestrator seems to be added for android cucumber version 4.2.4. You can try to integrate CucumberAndroidJUnitRunner
from the library instead of MultiDexCucumberJUnitRunner
from the gist.
In case your project is not AndroidX yet, change androidx.test.runner.AndroidJUnitRunner
to android.support.test.runner.AndroidJUnitRunner
they should have the same implementation.
I am trying to use the cucumber-android4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.
– Kaskasi
Mar 13 at 18:05
1
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
add a comment |
Support for the Orchestrator seems to be added for android cucumber version 4.2.4. You can try to integrate CucumberAndroidJUnitRunner
from the library instead of MultiDexCucumberJUnitRunner
from the gist.
In case your project is not AndroidX yet, change androidx.test.runner.AndroidJUnitRunner
to android.support.test.runner.AndroidJUnitRunner
they should have the same implementation.
Support for the Orchestrator seems to be added for android cucumber version 4.2.4. You can try to integrate CucumberAndroidJUnitRunner
from the library instead of MultiDexCucumberJUnitRunner
from the gist.
In case your project is not AndroidX yet, change androidx.test.runner.AndroidJUnitRunner
to android.support.test.runner.AndroidJUnitRunner
they should have the same implementation.
answered Mar 13 at 0:25
Sergii PechenizkyiSergii Pechenizkyi
19.2k65067
19.2k65067
I am trying to use the cucumber-android4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.
– Kaskasi
Mar 13 at 18:05
1
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
add a comment |
I am trying to use the cucumber-android4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.
– Kaskasi
Mar 13 at 18:05
1
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
I am trying to use the cucumber-android
4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.– Kaskasi
Mar 13 at 18:05
I am trying to use the cucumber-android
4.2.4
. When I upload my app to FTL the first test runs fine but then the instrumentation hangs itself until test time is expired. I cannot see any crashes from logcat. There is no difference between running with Orchestrator or not. @65536 I would suggest to try the latest version.– Kaskasi
Mar 13 at 18:05
1
1
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
It worked thank you. I switched to androidx
– 65536
Mar 13 at 21:11
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55042802%2ffirebase-vdt-does-not-run-gherkin-cucumber-tests%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What I've found now is that the tests run if I disable the Orchestrator. Is it possible to run Cucumber tests with the Orchestrator?
– 65536
Mar 8 at 15:37