Skip to content

Migrate Parametrized Tests to Burst #1354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sedwards/compose-dispatcher
Choose a base branch
from

Conversation

steve-the-edwards
Copy link
Contributor

Start using Burst anywhere we parametrize tests. This will help prep for adding new runtime configs in one place.

@steve-the-edwards steve-the-edwards force-pushed the sedwards/dea-2 branch 3 times, most recently from e283c6f to 2b31b09 Compare June 20, 2025 18:49
@steve-the-edwards steve-the-edwards force-pushed the sedwards/compose-dispatcher branch from 3276377 to 229688b Compare June 20, 2025 18:51
@steve-the-edwards steve-the-edwards marked this pull request as ready for review June 20, 2025 18:56

private val runtimeTestRunner =
ParameterizedTestRunner<Triple<RuntimeConfig, WorkflowTracer?, TestDispatcher>>()
private fun advanceIfStandard(dispatcher: TestDispatcher) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like the only thing you ever pass here is dispatcherUsed, so don't need the parameter. I believe the only result of passing in a different value would be that it would make the test incorrect, so why allow the foot gun?

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