Bump munit to 1.3.1 (was 1.2.2) & support generating a native test entrypoint for it#4297
Closed
Gedochao wants to merge 1 commit into
Closed
Bump munit to 1.3.1 (was 1.2.2) & support generating a native test entrypoint for it#4297Gedochao wants to merge 1 commit into
munit to 1.3.1 (was 1.2.2) & support generating a native test entrypoint for it#4297Gedochao wants to merge 1 commit into
Conversation
…entrypoint for it
Contributor
Author
|
We'll go with scalameta/munit#1094 instead, and skip bumping to MUnit 1.3.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/scalameta/munit/releases/tag/v1.3.1
This is includes a bit of an ugly hack to work around scalameta/munit#1093 and support running Scala Native tests with MUnit v1.3.1+
As
@EnableReflectiveInstantiationis missing, an entrypoint for the tests needs to be generated on the Scala CLI side.Checklist
scala-cli fmt .)scalafix(./mill -i __.fix)./mill -i 'generate-reference-doc[]'.run)How much have your relied on LLM-based tools in this contribution?
extensively, Cursor + Claude
How was the solution tested?
existing tests + added an anti regression one for MUnit v1.3.0 (the last one without scalameta/munit#1093)
Additional notes
Alternatives include:
@EnableReflectiveInstantiationon Scala CLI side (even uglier)