scalameta / munit

Scala testing library with actionable errors and extensible APIs
https://scalameta.org/munit
Apache License 2.0
429 stars 90 forks source link

Extract munit-scalacheck to a different repo/sbt project #758

Closed JD557 closed 5 months ago

JD557 commented 6 months ago

From the MUnit "Getting Started" page:

MUnit is a Scala testing library with the following goals:

[...] No Scala dependencies: MUnit has no external Scala dependencies so that it can easily cross-build against a wide range of Scala compiler versions.

This goal is not entirely true, due to the dependency on ScalaCheck. Sure, it's just a submodule, but having it on the same sbt project can still be a nuisance - e.g. it's currently blocking (or at least making extra cumbersome) the upgrade path to Scala Native 0.5.0.

All other integrations live on separate repos, so it's also a bit odd to see ScalaCheckget a preferential treatment.

tgodzik commented 6 months ago

Turns out this was already problematic since we can't release for 0.5.x without moving scalacheck separately, so I created https://github.com/scalameta/munit-scalacheck