cucumber / cucumber/cucumber-jvm-starter-maven-java

StepDefinitions should have at least one assert to call it as BDD test

Open
#80 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
502
Forks
641
Avg merge
5d 19h
Merged PRs (30d)
1

Description

https://github.com/cucumber/cucumber-java-skeleton/blob/main/gradle/src/test/java/io/cucumber/skeleton/StepDefinitions.java

any test should have assert to make it clear what it is testing

![image](https://user-images.githubusercontent.com/332234/232474042-22c84c4e-b44f-448a-8843-2c22e2bba4a2.png)

Contributor guide

Open the contributing guide

Research direction

The issue points to gradle/src/test/java/io/cucumber/skeleton/StepDefinitions.java. Start by inspecting the existing step definitions and the related test flow to determine a suitable assertion, then add at least one assertion so the BDD test clearly checks behavior. Run the repository's tests and confirm they pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.