Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for beforeAll/afterAll #41

Open
lkipke opened this issue Aug 6, 2020 · 0 comments
Open

Add support for beforeAll/afterAll #41

lkipke opened this issue Aug 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lkipke
Copy link
Contributor

lkipke commented Aug 6, 2020

We should include some way to execute code in several setup/teardown phases:

  • beforeAll (like in jasmine): once before all tests in a suite
  • afterAll (like in jasmine): once after all tests in a suite

Note that this'll probably require making sure there's a place to put shared state between tests since BrightScript doesn't support closures like JavaScript does.

@lkipke lkipke added the enhancement New feature or request label Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant