Comments (9)
what version of the tool are you using rn?
from comp5903-easy-cucumber.
0.3.1
from comp5903-easy-cucumber.
If I commented out that step (say step 10, enters islandofskulls), the tool will complain 'step def not found' for the next step (i.e, step 11, rerolls sth), which has been proven working well from previous scenarios.
from comp5903-easy-cucumber.
Ok, i just upgraded to v0.3.3, the problem have not been completely resolved:
@JThenStep("player {int} does skull check")
public void playerDoesSkullCheck(int arg0) {
..............
}
But the tool is still complaining about not step defi not found, but at least it stops complaining about the steps from original steps mentioned above.
These steps are from the same scenario. Again, @JThenStep("player {int} does skull check")
step has been used multiple time in previous scenarios.
from comp5903-easy-cucumber.
yeah I am also checking what's going on now
from comp5903-easy-cucumber.
can you paste the error message and stack trace again with 0.3.3?
from comp5903-easy-cucumber.
Actually after comparing my cucumber version and ez-cucumber, I noticed that I didn't add
@JAndStep("player {int} does skull check")
public void playerDoesSkullCheck(int arg0) {
..............
}
though there already is a @JThenStep version.
I thought If we have a @jthen for one step in one scenario (Then ABC
), then @JanD is not needed for the same step in other scenario(Then XYZ And ABC
). It's true in Cucumber (@then and @and) but it's not in this tool.
I will close the issue then..
from comp5903-easy-cucumber.
This tool has explicitly designed to enforce the keyword check, so you if you have two steps that are the same but using different keywords, they would have to have separate step definition methods.
But you mean in Cucumber, using @And
and @Then
doesn't matter?
from comp5903-easy-cucumber.
I believe so. I have same signature "doesSkullCheck" which were used in Then ... in one scenario, and Then ABC And .... in another scenario but I only declared one @then step definition and the test passed.
from comp5903-easy-cucumber.
Related Issues (20)
- Test fail error (see below for the log error message) HOT 5
- [Bug/Question] Regex matching fails for similar strings HOT 4
- "Unable to find integer parameter" Error Message HOT 2
- [Bug/Question]The tool doesn't seem to ignore keywords in a multi-line description under Scenario HOT 4
- "Unable to find integer parameter" Error Message HOT 1
- The tool doesn't recognize my step definitions HOT 2
- [Feature Request] Two small improvements HOT 3
- [Decision] Should we use existing Gherkin parser HOT 2
- [Bug] Someone said 0.3.4 still have issue with parsing HOT 4
- [Doc] need to clarify the SLF4J things in doc
- [Feature Request] Add proper test report HOT 1
- [Feature Request] Completely redesign the way of step matching and parameters extraction HOT 1
- [Decision] Should we use existing cucumber expression parser HOT 2
- [Doc + Test imple] Clarify that our tool already supported use cases dependencies HOT 1
- Optional Feature for convenience: support `{}` HOT 1
- Optional Feature for convenience: add several alias annotation for `@JStep` HOT 2
- Optional Feature: selected Hooks HOT 5
- Cannot resolve symbol 'executeAll()' HOT 3
- [Bug]Error message is not accurate when a step definition is missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comp5903-easy-cucumber.