FLUID-3660: Add logic to inject the inject.js file needed for our unit tests to run in testswarm

Metadata

Source
FLUID-3660
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2010-05-27T12:57:35.383-0400
Updated
2011-01-14T10:41:50.805-0500
Versions
N/A
Fixed Versions
  1. 1.3
Component
  1. Testing Infrastructure

Description

Testswarmr requires the inject.js file to be imported in all testsuite html pages. jqUnit should determine if the unit test is being run in the testswarm environment and add the inject.js file if it is.

Comments

  • Justin Obara commented 2010-05-27T14:32:14.831-0400

    FLUID-3660.patch.txt adds the inject.js script as well as a function in jqunit that automatically adds in the inject script when tests are run in the testswarm environment

  • Colin Clark commented 2010-05-31T11:45:16.599-0400

    I've reviewed Justin's patch and suggested one change--we're missing () in the call to new Date. Once Justin's makes this change and tests it, this patch looks ready to be committed.

  • Justin Obara commented 2010-05-31T12:04:47.924-0400

    Committed the inject.js script as well as changes to jqunit.js to automatically insert inject.js when the test is run in the testswarm environment