Callback to run before all tests in a module

Callback to run before all tests in a module

I have a need to run a setup/teardown callback to setup state once for all the tests within a module. I have something implemented that works like:

  1. module("My Module", {
  2.   beforeAll: function(){
  3.     // will run once for each module in which it's defined before all tests
  4.   },
  5.   afterAll: function(){
  6.     // will run once for each module in which it's defined after all tests have run
  7.   }
  8. });
Would this be something we'd be interested in having in QUnit?