Comments (11)
Hi!
Thanks for quick handling!
Added .txt to JSON (It contains an image too, but should be ok)
Console-Out.txt
cucumber.json.txt
from cluecumber.
@bischoffdev the state of a scenario is the most severe status of it's steps. But I didn't look at the json, maybe I'm reading your comment wrong.
from cluecumber.
I just tried Allure-reporting and got this for an Assume()/Abort() operation:
(w/o any claims of what is wrong or right, just as info)
from cluecumber.
Thank you for reporting, I will look into this.
from cluecumber.
A scenario is considered skipped when all steps are skipped. When there are passing steps before it is considered passed. This is according to the official Cucumber guidelines.
(see issue #283)
Could you send me the JSON result file of your use case so I can check this better?
from cluecumber.
Your example shows a passed step and then a skipped one. According to the Cucumber specs, this is considered passed.
from cluecumber.
Also the step counts seem to be correct here.
from cluecumber.
@mpkorstanje this is interesting. What does "the most severe" status mean concretely?
I know the status constants are
PASSED,
SKIPPED,
PENDING,
UNDEFINED,
AMBIGUOUS,
FAILED,
UNUSED
Would that mean that any step status that is lower down the list than any other steps in the scenario determines the scenario status? If so, this is new info. I remember getting my initial info from the Cucumber Slack.
E.g.
Step 1: passed
Step 2: skipped
Step 3: skipped
=> Scenario is skipped?
According to my former info, this would be considered passed.
from cluecumber.
Yes, this specific example the scenario would be skipped.
Not sure what you got from Slack. I do remember this conversation:
I think you interpreted the comment about scenario no. 3 as me saying the scenario passed. Rather the scenario is skipped, the execution of cucumber is passed (i.e. a zero exit code if this was the only scenario executed).
It is worth nothing that strict mode is default now and non-strict has been removed. So things are much simpler now.
from cluecumber.
Ah cool! So I will refine the state handling again and adjust it to the official way. Thanks for your input!
from cluecumber.
Ready to release in v3.3.0
from cluecumber.
Related Issues (20)
- Expand failure description in main failure view HOT 1
- Display report after failed test HOT 1
- Java Heap Exception for larger number of test cases HOT 1
- Add error message to scenario overview pages HOT 4
- Incorrect rendering of html elements within exception messages HOT 1
- Request jquery upgrade to address appsec vulnerability HOT 1
- Replace Gson on fire with own implementation
- Passing properties via command line
- Assumption message for Skipped scenario HOT 10
- No generated-report folder from v 2.9 in a "submodule" world HOT 7
- v 3.0.1 does not show Exception if thrown in step below "Given" HOT 5
- Set up automated FTP example report push on release
- PDF Format of Repor HOT 2
- expandDocStrings property is not working in cluecumber-maven HOT 2
- Pie chart always showing results from all features HOT 2
- [Question] change field feature name HOT 2
- Skip parameter on maven was removed HOT 2
- Inconsistent Background handling HOT 3
- The iFrame element shows empty content under HTML attachment Scenario Step HOT 7
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 cluecumber.