jQuery: The Write Less, Do More JavaScript Library

QUnit: test-level setup and teardown

View: New views
1 Messages — Rating Filter:   Alert me  

QUnit: test-level setup and teardown

by gurdiga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello!

It would be nice to have the ability to share some data/context
between QUnit.testStart and the test code itself. It would be useful
to have test-specific fixtures. Right now, as far as I see in the
code, you can only define "setup" and "teardown" methods at the module
level, which is a useful thing, but not for this case. To use this you
would need to define a module for each test that needs specific
fixture/setup/teardown.

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Development" group.
To post to this group, send email to jquery-dev@...
To unsubscribe from this group, send email to jquery-dev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---