Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Conversation

oleiade
Copy link
Collaborator

@oleiade oleiade commented Jan 12, 2024

This PR addresses #57 and modifies the newTestSetup helper to use modulestest.NewRuntime under the hood. This simplifies the test setup greatly, and delegates parts of the runtime setup to the core module.

⚠️ we should merge this after #58 to benefit from the linter issues fix ⚠️

@oleiade oleiade self-assigned this Jan 12, 2024
@oleiade oleiade requested a review from a team as a code owner January 12, 2024 16:24
@oleiade oleiade requested review from codebien and mstoykov and removed request for a team January 12, 2024 16:24
"go.k6.io/k6/lib"
"go.k6.io/k6/lib/testutils/httpmultibin"
"go.k6.io/k6/metrics"
"gopkg.in/guregu/null.v3"
Copy link
Contributor

Choose a reason for hiding this comment

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

Dropping this dependancies is breaking the ci - running go mod tidy will fix it.

Copy link
Contributor

@mstoykov mstoykov left a comment

Choose a reason for hiding this comment

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

LGTM!

Left some nits if there is time

@oleiade oleiade merged commit 82b9c8e into main Jan 15, 2024
@oleiade oleiade deleted the fix/57_use_modulestest_for_test branch January 15, 2024 11:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants