cucumber-js-tsflow
cucumber-js-tsflow copied to clipboard
[WIP] beforeAll/afterAll hooks
I made an attempt to add the BeforeAll and AfterAll. I came across some issues, unfortunately the hooks do not work yet. Mainly, I am having a hard time understanding how the step-binding-flags actually work. I simply followed the pattern and added two more flags and then added the decorators in hook-decorators
Lastly, I simplified the tag filter on the hooks so you now must have an @
on your tag which enables more in depth tag expressions like not @Foo
.
Anyone see what's missing to get this to work? Help would be appreciated.
Related Issues
Fixes #47 Fixes #41
Testing
Since the before all and after all are supposed to run after all scenarios, I added a second scenario to the test gherkin. Then I added the before/after all hooks with some simple consol.log for now.
I see . . . Something must be done in this file: binding-decorators
@timjroberts , is this going to be merged to master? #78 #41