Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.4
-
None
Description
The IoC testing framework's main driver, the function fluid.test.runTests, only accepts a list of bare gradeNames as its specification of the test environments to be run. For example, this driver runs three test environments -
fluid.test.runTests([
"fluid.tests.myTestTree",
"fluid.tests.asyncTestTree",
"fluid.tests.initTree"
]);
This inhibits reuse of testing environments, where these only differ in the content of configuration - KASPAR's current integration testing for GPII is required to illegally fabricate fresh grades in a loop in order to issue different integration testing configurations. We should support a syntax that essentially takes the form of free subcomponents - for example,
fluid.test.runTests([ {
type: "fluid.myTestTree",
options:
});