src.match(/\.(.*$)/)[1] ];
      var scriptTag = unescape("%3Cscript type='"+type+"' src='../"+src+"'%3E%3C/script%3E");
      document.write( scriptTag );
    }

    function injectScripts (scripts) {
      if (!scripts) return;
      scripts = scripts.split(",");
      for (var i = scripts.length - 1; i >= 0; i--) {
        script = scripts[i];
        injectScript(script);
      };
    }

    var params = QUnit.urlParams;
    console.log("running "+params.tests.split(',').length+" test(s)");
    injectSc