8000 Manage test framework dependencies in `TestModule` traits by lefou · Pull Request #4968 · com-lihaoyi/mill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Manage test framework dependencies in TestModule traits #4968

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

Merged
merged 20 commits into from
Apr 23, 2025

Conversation

lefou
Copy link
Member
@lefou lefou commented Apr 19, 2025

Added a new task <name>Version: T[String] to all TestModule sub-traits. If a version is defined, the test framework dependency will be provided via managedMvnDeps. For compatibility, but also to accommodate special use cases, we allow the version to be empty, which will result in no additional test framework dependency added.

Covered Modules:

  • TestModule.Junit4
  • TestModule.Junit5
  • TestModule.Munit
  • TestModule.Testng
  • TestModule.ScalaCheck
  • TestModule.ScalaTest
  • TestModule.Specs2
  • TestModule.Utest
  • TestModule.Weaver
  • TestModule.ZioTest

@lefou lefou changed the title Add TestModule.Utest.utestVersion for convenience Manage test framework dependencies in TestModule traits Apr 19, 2025
@lefou lefou marked this pull request as ready for review April 22, 2025 13:00
@lefou lefou merged commit 05593b3 into com-lihaoyi:main Apr 23, 2025
37 checks passed
@lefou lefou deleted the tr-provide-test-deps branch April 23, 2025 07:27
@lefou lefou added this to the 0.13.0 milestone Apr 23, 2025
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
0