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













4















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:



  1. Install the APK that I'm sending to Firebase

  2. 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)











share|improve this question
























  • 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















4















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:



  1. Install the APK that I'm sending to Firebase

  2. 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)











share|improve this question
























  • 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













4












4








4








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:



  1. Install the APK that I'm sending to Firebase

  2. 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)











share|improve this question
















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:



  1. Install the APK that I'm sending to Firebase

  2. 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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












1 Answer
1






active

oldest

votes


















4





+50









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.






share|improve this answer























  • 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





    It worked thank you. I switched to androidx

    – 65536
    Mar 13 at 21:11










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
);



);













draft saved

draft discarded


















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









4





+50









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.






share|improve this answer























  • 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





    It worked thank you. I switched to androidx

    – 65536
    Mar 13 at 21:11















4





+50









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.






share|improve this answer























  • 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





    It worked thank you. I switched to androidx

    – 65536
    Mar 13 at 21:11













4





+50







4





+50



4




+50





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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 13 at 0:25









Sergii PechenizkyiSergii Pechenizkyi

19.2k65067




19.2k65067












  • 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





    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






  • 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



















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved