Skip to content

Comments

test: skip unit tests for modules that have their own split tests#11960

Open
chingor13 wants to merge 1 commit intomainfrom
skip-split-units
Open

test: skip unit tests for modules that have their own split tests#11960
chingor13 wants to merge 1 commit intomainfrom
skip-split-units

Conversation

@chingor13
Copy link
Contributor

As the new split repos are migrating to the monorepo, we actually want to skip those unit tests when running the unit tests on the entire repo. This is because the unit tests for the migrated repos may be non-trivial and take a lot longer than the rest of the tests.

This is accomplished by adding a new profile called bulkTests which we set when running the "full" unit tests suite (no run on the split unit tests). When activated, the modules that migrated into the monorepo have that profile defined that will set the skipTests maven property (which skips those tests).

@chingor13 chingor13 requested a review from a team as a code owner February 20, 2026 22:25
@blakeli0
Copy link
Contributor

I thought we agreed that unit tests are OK to be included because they should be relatively fast. Do you have examples of unit tests that are non-trivial and take a lot longer?

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.

3 participants