Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException: cucumber.android.CucumberInstrumentationTestRunner runnig the tests #1

Open
robsonrf opened this issue Jan 9, 2013 · 1 comment

Comments

@robsonrf
Copy link

robsonrf commented Jan 9, 2013

Hi cucumber-android team,

I followed the steps outlined in the readme .. but I could not run the tests .. the error is occurring:
java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo {com.example.calculator / cucumber.android.CucumberInstrumentationTestRunner}: java.lang.ClassNotFoundException: cucumber.android.CucumberInstrumentationTestRunner

I created an android project and added the android-cucumber jar generated from this project to the classpath of my android project..

see my project configuration in attached image..

** cucumber_apptest is my android project.
cucumber-project-config

Another question is about the cucumber-jvm, needs to configure something?
To run the tests simply create a run configuration as Android JUnit Test? .. See the image of the test run configuration attached ..
cucumber-run-config

** If possible, could you guys provide a simple example application with the correct configuration running .. :)

Appreciate your help,
best regards
Robson R. Ferreira

@robsonrf
Copy link
Author

Hi, cucumber-android team..
any idea about this problem?

thank you for your help,
Robson R Ferreira

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant