Skip to content

Conversation

@nayeemrmn
Copy link
Contributor

Currently you get jumbled output for parallel tests with steps. This introduces a new formatting mode for --parallel which outputs self-contained result lines:
image

I've removed the TestReporter trait, it's clear that it couldn't fulfil any purpose since the cli and lsp test runners needed different event loops in the first place.

cc @lucacasonato

@bartlomieju bartlomieju requested a review from dsherret August 4, 2022 15:18
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we should remove parallel from TestFlags and TestSpecifierOptions before merging.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nayeemrmn! Looks good to me. Will try to merge this before the release today.

@dsherret dsherret changed the title feat(test): output parallel test results independently fix(test): output parallel test results independently Aug 4, 2022
@dsherret
Copy link
Member

dsherret commented Aug 4, 2022

Categorized this as a fix to get it in the patch release.

@dsherret dsherret merged commit 3432869 into denoland:main Aug 4, 2022
@nayeemrmn nayeemrmn deleted the test-parallel-output branch August 4, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants