Comments (1)
Ah. Interesting. I have the same frustration than you...:)
This unfortunately is a jest-cucumber error that is raised and that your runner is displaying...
The trick is, jest-cucumber-fusion register the Scenario outline as a parameterized title within jest-cucumber to avoid jest detecting the same title more than once "Error: More than one scenario found in step definitions matching scenario title """ which is breaking...
This mechanism is powerful in the sense where it allows jest-cucumber to use the regexp version of the different steps instead of having to run each regexp against each scenario...
I did try to force jest-cucumber to use the "expanded" outlines (with the variable replaced by real values) by iterating through all the scenario manually one by one.
Unfortunatly, jest-cucumber end up trying to protect us from that with no matching "Feature" (aka same title in the gherkin file). The error would be at that point "No scenarios found in feature file that match scenario title ".
So if we want this to be possible (and I agree it would be better...), we'll have to convince the author of jest-cucumber to change his error handling ....https://github.com/bencompton/jest-cucumber
Especially, I do believe that the https://github.com/bencompton/jest-cucumber/blob/master/src/validation/scenario-validation.ts can be allowed to be a bit flexible, or a failing scenario to raise it's expanded name and not the generic one...
I'll support and help explain if you feel it's worth going for...
from jest-cucumber-fusion.
Related Issues (17)
- Possibility of using semantic release ? HOT 3
- [Question] Can I execute one scenario only? HOT 2
- [Question] Multiple scenarios HOT 1
- language support HOT 12
- Background support HOT 1
- RegEx With Databale HOT 1
- Non-outline expression bracket-enclosed (<>) with multiple words separated by a space HOT 1
- Add support for jest-cucumber 3.0.0 HOT 4
- Ability to find and load all feature files and to define steps independently from feature file paths HOT 1
- Scenario examples are incorrectly parsed when using in step with tables HOT 1
- Jest-cucumber doesn't allow a mix of more then 1 variable and 1 outline variable on the same steps HOT 1
- Can't use Regex StepDef With Table HOT 7
- Autopublishing in npmjs is not working
- Expression written with a potential value in their text will fail with the variable undefined HOT 1
- Cucumber fusion for multiple feature files in Step definition HOT 2
- Complex array reg exp do not work HOT 1
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 jest-cucumber-fusion.