-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
Improvement
-
False
-
None
-
False
-
OCPSTRAT-1666 - Ensure Sustainability of the HyperShift Project through Comprehensive Refactor and Standardization of Key Components
-
-
-
Hypershift Sprint 254, Hypershift Sprint 255, Hypershift Sprint 256, Hypershift Sprint 257, Hypershift Sprint 258
-
0
-
0
-
0
We can improve the robustness, maintainability, and developer experience of asynchronous assertions in end-to-end tests by adhering to a couple rules:
- Bounded Lifecycle: every asynchronous assertion should have an explicit bound for when we expect it to have passed
- Explain What You're Doing: every major code-path should log what it's doing - a user waiting on an assertion should never be left wondering what's going on
- Terse Output: "don't say the same thing twice" - only output when something has changed
- Keep Track Of Time: at a minimum, output how long the assertion took to run its course; if it's useful, output the durations between state deltas
- links to
(7 links to)