There is some specified location where feature files are present. There is need to copy these files to
src/test/resources/
before execution of test cases as a part of automation.
I tried using
@BeforeClass
//java code to do copying of files from one location to other
But Cucumber scans all feature files in the first place. So, it is failing as not finding any feature files which is mentioned under
@CucumberOptions(features = "src/test/resources/subscription.feature")