All Questions
5 questions
0
votes
0
answers
95
views
Cucumber: Feature file is unable to find step definitions when they are in separate modules
I am unable to map the feature file to the step definition one which is in different module.
The project is split between two Java modules, in the firts one are the feature files and the runner and in ...
0
votes
1
answer
4k
views
If you need dependency injection, put cucumber-picocontainer on the classpath
Keep getting this error and I am now at my wits end, can anyone explain what I may be doing wrong please - apparently might have to do with cucumber versions, how does one make the versions match:
io....
9
votes
2
answers
18k
views
How to add bearer token to retrofit request in Java
Hi Im trying to add a bearer token to a retrofit call in java, but i cant seem to pass it.
Currently Im logging in with one method and this creates a bearer token and im trying to add the token to ...
0
votes
1
answer
690
views
How to make @Before of cucumber restricted for only one feature file?
I am using API testing and selenium both in one framework. I added @Before of cucumber to open a browser but for api testing i don't need to open browser. But its opening for both UI and API. How ...
0
votes
1
answer
708
views
Cannot get api hostname via System property in Java
Recently got the code to write bdd tests with cucumber on Java. There is already maven project with couple of tests and test framework. I need to continue writing bdd tests using this framework.
I am ...