Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
46 views

junit 5 runs specific cucumber feature twice

Running Cucumber with JUnit 5 works ok as long as all feature files are run. @Suite @IncludeEngines("cucumber") @ConfigurationParameter(key = Constants.FEATURES_PROPERTY_NAME, value = "...
tbeernot's user avatar
  • 2,574
0 votes
0 answers
44 views

Gradle and Quarkus version Upgrade broke cucumber test suite ''No tests found for given includes:''

I have a cucumber test suite, which was working fine until gradle 7.6 version and Quarkus 3.5.3 version. Once I upgrade to gradle 8.6 and Quarkus version 3.8.4 my cucumber tests are not recognized by ...
mayur_mitkari's user avatar
0 votes
0 answers
27 views

Execute cucumber feature file parallel

How to execute cucumber feature file parallel. I have created a own TestRunner by extending the org.junit.runners.ParentRunner, which is able to run the cucumber tests sequentially after launching the ...
Kishore_2021's user avatar
0 votes
1 answer
49 views

After mvn test I see "Tests run: 0" for some reason

i'm trying to run my tests with 'maven test', but I always receive Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 Can't find the problem. I'm guessing that the problem is eather pom or runner ...
Ilia Zheludov's user avatar
1 vote
0 answers
104 views

An internal error occurred during: "Check Configuration". loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory

I have installed the cucumber plugin and after that whenever I am launching Eclipse IDE it is not responding. Getting the below error: An internal error occurred during: "Check Configuration&...
Ansuman Prasad Pati's user avatar
2 votes
1 answer
89 views

Problems running both JUnit tests and Selenium/Cucumber tests at the same time

I have a basic Maven/Spring test project with some simple JUnit tests and Selenium/Cucumber tests that I later want to run using Github Actions, but first I want to make sure they run locally. This is ...
SamKar's user avatar
  • 53
0 votes
0 answers
139 views

java.lang.NoClassDefFoundError error happening when trying to run tests with Cucumber 7 and JUnit 5

I have a POC for running API tests using Cucumber 7, JUnit 5 and Serenity 4. There is just one short test and a verification of the status code of a GET request. The test works fine if I try to assert ...
MR. PROD's user avatar
1 vote
1 answer
349 views

Cucumber test in Jenkins running twice

Test project environment: java 17 junit5 cucumber7 maven 3.3.9 spring Runner class: @Suit @IncludeEngines("cucumber") @SelectClasspathResource("project/uss/as/play/test/features/smoke/...
Денис Кондратов's user avatar
0 votes
0 answers
48 views

maven selenium cucumber junit - test suite inexplicably started to hang

We're running a maven selenium junit cucumber test suite (approximately 250 test cases). We recently started getting "hangs" of 4+ hours for no obvious reason. Nothing has changed re ...
JustCallMeDan's user avatar
0 votes
0 answers
32 views

maven selenium cucumber junit - timeout received from renderer - why does it sometimes have a positive value and sometimes negative

We have test cases running and recently have been running into "timeout received from renderer" errors. What I'm trying to understand is what the values displayed actually mean. Running a ...
JustCallMeDan's user avatar
1 vote
1 answer
744 views

Mocking object in Cucumber

I'm trying to test my project using BDD and therefore im using Cucumber. The problem is, that when I want to test ProductController i can't properly mock my ProductService and i get ...
wojmaj22's user avatar
0 votes
0 answers
101 views

Cucumber custom runner wrapper

I am trying to send an email containing a cucumber report after the cucumber tests have run and the report is generated, I was trying to use @AfterClass annotation with junit but it would execute ...
Aindriu's user avatar
  • 65
0 votes
0 answers
92 views

Cucumber class ignored classparh for local runs. All test runs

Test project environment: java 17 junit5 cucumber7 maven 3.3.9 Runner class: @Cucumber @IncludeEngines("cucumber") @SelectClasspathResource("project/uss/as/play/test/features/smoke/...
Денис Кондратов's user avatar
0 votes
0 answers
69 views

How to start Appium server programmatically before the first scenario executed? (Using Cucumber and JUnit)

I want to start Appium server before the first scenario and then after the last scenario is executed, I want to close it. But I cant do it... Currently it starts the server before each scenario, and ...
emnznlg's user avatar
0 votes
0 answers
106 views

Run cucumber test and unit test in specific order

In my app, one cucumber test (feature) and one unit test seem to interact unexpectedly. To debug the issue I need to run them both in a specific order. So far I have tried this without success: run ...
David Kubecka's user avatar

15 30 50 per page
1
2 3 4 5
28