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

Feature: beforeAll() and afterAll() #79

Closed
ghost opened this issue Nov 25, 2011 · 1 comment
Closed

Feature: beforeAll() and afterAll() #79

ghost opened this issue Nov 25, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 25, 2011

Sometimes I want to set up a database with dummy data all tests can query.

The problem is if I set up this in a beforeEach/afterEach it will create and destroy the database with the same dummy data for each test which is unnecessary since the data is just queried.

A really hot feature many want: jasmine/jasmine#56 (comment)

@tj
Copy link
Contributor

tj commented Nov 25, 2011

we have this already, in the bdd interface it's before() / after()

@tj tj closed this as completed Nov 25, 2011
@ghost
Copy link
Author

ghost commented Nov 25, 2011

I'm blind.

boneskull pushed a commit that referenced this issue Dec 6, 2017
Add "Using async / await" section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant