Do you use the second parameter (life cycle) module ? If not, you should be able to instantiate your view model at this level, for example:
module("foo", { setup: function() { this.model = instantiateModel(); }, tearDown: function() {
From what I remember, for reading, QUnit tags are executed in the same area as setup and tearDown , so any members defined in setup will be available in any subsequent tests.
source share