IoC Testing Framework always begins to construct first test environment grade immediately

Description

There is a design flaw in the current IoC testing framework in that construction of the first test environment grade supplied to fluid.test.runTests will start IMMEDIATELY, since otherwise the framework cannot evaluate what test fixtures there are in order to send them to jqUnit.asyncTest. This means that this startup will be interleaved with any other asynchronous tests which are already in progress which may lead to undesirable results.

This problem could not be resolved before we have implemented the framework which is capable of introducing asynchronous delays into component startup. Once we can update to this framework, we can insert a "resource" into the resources block of the testEnvironment that delays further instantiation of the grade until QUnit's test queue is dry.

In the meantime, the best practice is to place all IoC testing framework tests FIRST in any test run which consists of mixed IoC testing framework fixtures and ordinary jqUnit.asyncTest fixtures.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Priority

Created September 17, 2019 at 11:14 AM
Updated July 22, 2024 at 2:35 PM
Resolved January 17, 2023 at 2:53 PM