FLUID-5753: Allow IoC testing framework's testEnvironment to act as its own testCaseHolder

Metadata

Source
FLUID-5753
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2015-08-26T20:51:41.416-0400
Updated
2024-07-22T10:35:00.134-0400
Versions
  1. 2.0
Fixed Versions
N/A
Component
  1. IoC Testing Framework

Description

It's inconvenient when setting up small test fixtures to have to create separate components to hold the environment and its fixtures. There were also problems created by IoC visibility rules. This problem is referred to in Kettle's KettleTestUtils.js, which defines a serverEnvironment which is empty - all reusable material has to be defined in the TestCaseHolder otherwise it can't be configured from the fixtures. In the current framework we can use modern distributeOptions to reach these.