What is the equivalent of nUnits [SetUp]
attribute for qUnit?
views:
66answers:
1
+1
A:
QUnit.testStart(name)
is called whenever a new test batch of assertions starts running.name
is the string name of the test batch.
See the documentation for more info.
GraemeF
2009-11-05 20:51:11
Yes, I saw this but it isn't obvious as to how it should be used or what it should be used for. Now I know, thanks!
tpower
2009-11-05 21:04:45
In case you don't know how to use this `QUnit.testStart = function (name) {};`
Juri Glass
2009-11-27 13:09:30