timjroberts / cucumber-js-tsflow

Provides 'specflow' like bindings for Cucumber.js in TypeScript 1.7+.
MIT License
133 stars 34 forks source link

Replace test with isolated execution of different scenarios #111

Closed Fryuni closed 1 year ago

Fryuni commented 1 year ago

The tests now contain multiple scenarios where each creates a new project testing an individual use case of the library. Until now, the tests could not detect when some behavior was incorrectly not happening, like a missing after hook or a missing last step.

The new tests are ported from the tests of cucumber-js itself, but converted to use cucumber-tsflow syntax.