ccady-ubermind / cucumber-android

Android support for Cucumber
MIT License
9 stars 4 forks source link

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

Open robsonrf opened 11 years ago

robsonrf commented 11 years ago

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 commented 11 years ago

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

thank you for your help, Robson R Ferreira