Metadata
- Source
- FLUID-5132
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Antranig Basman
- Created
2013-09-12T04:16:02.580-0400 - Updated
2013-10-23T15:45:44.185-0400 - Versions
-
- 1.4
- Fixed Versions
-
- 1.5
- Component
-
- IoC System
- Testing Infrastructure
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: {
myValue: 3
}
});
Comments
-
Justin Obara commented
2013-09-20T08:38:21.282-0400 Pull request ( https://github.com/fluid-project/infusion/pull/403 ) merged into the project repo at 2eb984ef7a7973fb8b74c62674d9026145c5fbc5