visionmedia/mocha — Issue #79: Feature: beforeAll() and afterAll()
Author: johnnywengluu
Created: 2011-11-25 02:01:58+00:00
State: open

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 loved by all: https://github.com/pivotal/jasmine/pull/56#issuecomment-2823327