FLUID-35: The JSUnit test names should not be declared statically in the exposeTestFunctionNames() function.

Metadata

Source
FLUID-35
Type
Improvement
Priority
Minor
Status
Closed
Resolution
Won't Fix
Assignee
Colin Clark
Reporter
Colin Clark
Created
2007-08-24T15:49:50.000-0400
Updated
2011-01-28T12:25:18.961-0500
Versions
  1. 0.1
Fixed Versions
N/A
Component
  1. Testing Infrastructure

Description

Currently, our exportTestFunctionNames() method returns a static array of all our test function names. The risk is that if new test functions are written but not added to this list, they will silently not be run.

This should be refactored to generate the list of test function names dynamically.

Environments

All browsers

Comments

  • Michelle D'Souza commented 2008-03-12T11:10:04.000-0400

    We are moving our tests over to jqUnit and will be getting rid of 'exposeTestFunctionNames'.