I'm working on an open source project, and I'm trying to bring its JS libraries up to date. I know very little about QUnit (this is the first time I've encountered it), but I'm getting an error that's over my head.
You are trying to find the form via an ID - $('#form') - but it doesn't have one. Either add the ID or just use the node name - $('form').
Also, your body content for your tests should be limited to two divs. The first is used by QUnit to display all of its outcomes, while the second contains all the elements you need for your tests and is re-created for each test giving you a clean slate to start from each time.
Unfortunately, it's still broken after the fixes. I've tried to debug it, but I'm stuck.
As you may have noticed, this project uses Query Field Plugin, which I don't know much about. I don't know if it's obsolete (it's dated 2011 in its comments). I'm also not terribly in the loop with the the jQuery universe and its plugins, which doesn't help.