Streaming individual test results
See original GitHub issue🚀 Feature Proposal
Right now we collect test results from a whole suite before passing it to a testResultsProcessor
(and printing it). I’d like to also be able to know as each individual test completes without waiting for the whole suite.
Motivation
2 use cases comes to mind:
- IDEs and other reporters are able to display individual test results as they come in, instead of waiting for the whole suite
- Tracking down which test hangs a test suite (see https://github.com/webpack/webpack/pull/7311 which just hangs - seeing the last completed test would be great)
As a bonus to the last point, we might want to stream multiple states per test - pending
, running
and complete
or something might make sense.
Example
Not really sure how it would be used. I guess an extra method in the reporter? Might make sense as part of Jest Hooks? https://github.com/facebook/jest/blob/master/packages/jest-cli/src/jest_hooks.js
Pitch
The UI for it does not have to live within Jest, but we should power custom reporters and test result processors to display real time data about a test suite
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Streaming Test Results - Cypress
In this blog post, I will show how to receive individual test results as soon as each test is finished, without waiting for...
Read more >Speedify Livestreaming Test
The Livestreaming test evaluates your upload performance with Speedify to estimate what video streaming quality you can consistently expect ...
Read more >Streaming Media Performance | Microsoft Learn
The assessment provides test results for video glitches. It reports glitches for one-second intervals throughout the running of the video ...
Read more >Video Quality Report - Google
Daily video activity is averaged over 30 days. Individual results may vary and the results for the same ISP may also vary between...
Read more >Significance tests for streaming data - Cross Validated
Could we also consider the variance, or even the results of individual folds? There are variations of the ANOVA and the Friedman test...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@SimenB those are still two different reporting mechanisms:
jest-circus
- that has no way outside its current vm thoughafterAll
shouldn’t be a problem any more, we chose to not fail any individual tests, but rather throw a global error that’ll fail the whole suiteThis issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.