jeudi 21 novembre 2019

Cucumber: Is it possible to read .feature files from a folder on the android device?

I use cucumber to test my android app. Via the CucumberOptions I define where the feature files (test files) are located. In this example the files are in the 'assets/tests/*' folder.

@CucumberOptions(features = ["tests"], glue = ["com.myapp.cucumber.steps"])
class CucumberTestCase

Is it possible to define another folder for feature files, which is located on the device (e.g. the sdcard)?

It would be nice when someone would have the possibility to copy feature files to a specific folder on the device and when running the cucumber tests, these files would also be executed by cucumber.

Aucun commentaire:

Enregistrer un commentaire