Comments (1)
After some further investigation, it looks like this problem can be solved by setting the "debugger" option within the cucumberjs task to "true". When you do this, cucumberjs uses "requireHandler" to run your scenarios within the current Node process. Without this setting, cucumberjs uses "processHandler", which spawns a new separate Node process to run your scenarios (which is why the global variable set during the execution of the scenarios is not persisted).
It might be helpful to add some information about this to the documentation, as it looks like the "debugger" option may be useful for more than just debugging within the IDE!
from grunt-cucumberjs.
Related Issues (20)
- Issue downloading latest grunt-cucumberjs version [V1.0.0] HOT 2
- Issues resolved in fork, waiting on response to PR HOT 4
- Cucumber 2 support HOT 1
- {prod} --> npm publish HOT 1
- support for node 0.12
- Breasks with cucumber@4 HOT 1
- Command Injection - Vulnerabilities Observed in dependent package
- Npm audit- Vulnerabilities Observed in dependent package
- html report broken HOT 5
- Submit HTML reporting to cucumber-js HOT 2
- formats html+pretty, pretty won't output HOT 3
- 'Output' option not creating folder structure HOT 1
- Parallel option not working with latest version of plugin HOT 5
- Html report wont open some scenario details but opens others HOT 3
- peerDependencies: 0.4.5
- rerun HOT 1
- Report is overwritten when using re-run option HOT 2
- Issue in '--tags' parameter work logic HOT 1
- Cannot run some feature from cli (Ubuntu) HOT 4
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 grunt-cucumberjs.