Jasmine's beforeEach/ afterEach method runs for each spec defined. Is there a way to run a method once for a group of tests? I am not looking for a solution to use a variable to track if a a method was run or not. It makes teardown tricky.
Edit: Removing jasmine as it already have the beforeAll and afterAll methods. Protractor does not have it yet (https://github.com/angular/protractor/issues/103).
The workaround @jmr suggested is to use a setup and a teardown spec ( it("should setup"...) ).