cucumber / cucumber/cucumber-node

BeforeAll/AfterAll hooks

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
cucumber-gap
Dominant language
TypeScript
Stars
11
Forks
1
Avg merge
13h 45m
Merged PRs (30d)
19

Description

This should be doable with once-per-process semantics as we have in cucumber-js. So for `--test-isolation=none` it would be just once, and by default it would be once per process, meaning once per feature file since this is how Node.js does the split.

https://nodejs.org/api/test.html#global-setup-and-teardown is how we should be able to hook into the lifecycle.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.