:sparkles: :rocket: Veggies is an awesome cucumberjs library for API/CLI testing. Great for testing APIs built upon Express, Koa, HAPI, Loopback and others. It's also the perfect companion for testing CLI applications built with commander, meow & Co.
Do you want to request a feature or report a bug?
More of a Readme update.
What is the current behavior?
The readme has some installation examples, they all have defineSupportCode, a function that was deprecated in cucumber in version 4.0.0 (Cucumber Changelog)
If the current behavior is a bug, please provide the steps to reproduce.
When running tests with a cucumber >= 4.0.0, we get a warning message: DeprecationWarning: cucumber: defineSupportCode is deprecated. Please require/import the individual methods instead.
What is the expected behavior?
Rewrite the readme installation examples without using the deprecated method.
Also, the required parts of veggies (i.e the definitions for each extension, the hooks for fixtures or the step definitions.. for example) can be exposed through the extension itself to have less requires and be able to use them directly like this: state.defintions({Given, When})
What do you think?
Please provide your exact configuration and mention your veggies, node, yarn/npm version and operating system.
I am using an official node image with latest tag
OS: Linux
Node: v10.6.0
NPM: 6.1.0
Veggies: 0.6.0
Cucumber: 5.0.1
Do you want to request a feature or report a bug? More of a Readme update.
What is the current behavior? The readme has some installation examples, they all have defineSupportCode, a function that was deprecated in cucumber in version 4.0.0 (Cucumber Changelog)
If the current behavior is a bug, please provide the steps to reproduce. When running tests with a cucumber >= 4.0.0, we get a warning message:
DeprecationWarning: cucumber: defineSupportCode is deprecated. Please require/import the individual methods instead.
What is the expected behavior? Rewrite the readme installation examples without using the deprecated method.
An example might be:
Also, the required parts of veggies (i.e the definitions for each extension, the hooks for fixtures or the step definitions.. for example) can be exposed through the extension itself to have less requires and be able to use them directly like this:
state.defintions({Given, When})
What do you think?
Please provide your exact configuration and mention your veggies, node, yarn/npm version and operating system. I am using an official node image with latest tag OS: Linux Node: v10.6.0 NPM: 6.1.0 Veggies: 0.6.0 Cucumber: 5.0.1