Skip to content

Migrate test library and suite from MUnit to Weaver#316

Merged
Hombre-x merged 24 commits intotypelevel:mainfrom
Hombre-x:weaver-migration
Apr 16, 2026
Merged

Migrate test library and suite from MUnit to Weaver#316
Hombre-x merged 24 commits intotypelevel:mainfrom
Hombre-x:weaver-migration

Conversation

@Hombre-x
Copy link
Copy Markdown
Contributor

@Hombre-x Hombre-x commented Apr 15, 2026

Adresses #314

This PR updates the Typelevel Toolkit by replacing MUnit with Weaver as the default test framework and refactoring the test infrastructure to use Weaver for all test suites.

Also, updated both the site and README to reference Weaver instead of MUnit.

Lastly, because weaver depends on Scala 2.13.18, It has to match the Scala 2 version. However, older versions of sbt-typelevel and sbt-scalajs don't have the kind projector artifact published for 2.13.18, so both plugins also needed to be upgraded to versions sbt-typelevel 0.8.5 (which required sbt to be upgraded to 1.12.9) and sbt-scalajs 1.20.1 (which required scala-cli to be upgraded to 1.12.5).

This comment was marked as duplicate.

Comment thread README.md
Comment thread tests/shared/src/test/scala/org/typelevel/toolkit/ScalaCliProcess.scala Outdated
Comment thread tests/shared/src/test/scala/org/typelevel/toolkit/ToolkitCompilationTest.scala Outdated
@Hombre-x Hombre-x merged commit a2fdaaf into typelevel:main Apr 16, 2026
11 checks passed
@Hombre-x Hombre-x deleted the weaver-migration branch April 16, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants