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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

lefou
Copy link
Member

@lefou lefou commented Apr 19, 2025

WIP

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.Utest
  • TestModule.Munit
  • TestModule.Junit4
  • TestModule.Junit5
  • TestModule.Weaver
  • TestModule.Testng
  • TestModule.ZioTest
  • TestModule.ScalaCheck
  • TestModule.ScalaTest

@lefou lefou changed the title Add TestModule.Utest.utestVersion for convenience Manage test framework dependencies in TestModule traits Apr 19, 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.

1 participant