Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Adding beforeAll and afterAll #102

Merged
merged 10 commits into from
Sep 23, 2014
Merged

Adding beforeAll and afterAll #102

merged 10 commits into from
Sep 23, 2014

Conversation

CodeFred
Copy link
Contributor

Adding a beforeAll and afterAll methods to the hooks object, allowing common setup and teardown common to all transactions. This is useful for executing asynchronous initialization steps, and also for preparing a test environment, while ensuring it's cleaned up after all tests have run.
The unit and integration tests have been updated accordingly, and the new code has 100% coverage.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) when pulling d3f8baa on HBOCodeLabs:master into 814823d on apiaryio:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) when pulling cccb71c on HBOCodeLabs:master into 814823d on apiaryio:master.

netmilk pushed a commit that referenced this pull request Sep 23, 2014
Adding beforeAll and afterAll
@netmilk netmilk merged commit 8dcaafe into apiaryio:master Sep 23, 2014
@netmilk
Copy link
Contributor

netmilk commented Sep 23, 2014

Thanks a lot for your contribution. Bumping version and releasing it afterwards.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants