Metadata
- Source
- FLUID-5984
- Type
- Improvement
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- Alan Harnum
- Reporter
- Alan Harnum
- Created
2016-10-17T11:22:09.873-0400 - Updated
2016-10-17T11:22:28.246-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Testing Infrastructure
Description
https://github.com/fluid-project/infusion/pull/757 merged in two conditional test utilities that should be documented.
While these specifically targeted issues with the text-to-speech tests, they may be generally useful to users of the framework, and should be documented. The features are:
- running different tests based on the results of promises (one test if a promise resolves, another if it fails); as a concrete example, this is used in the TTS tests to skip tests if a platform does not "truly" support TTS (an issue on some automated browser test platforms)
- a context-aware test runner; concretely, this is used to skip certain tests on Linux due to Linux browsers not fully supporting all TTS features