Repository navigation
fix(maven): recognise Failsafe's IT* and *ITCase test names - #211
Merged
adityankale190895 merged 2 commits intoNov 18, 2026
Merged
Conversation
isTest accepted Surefire's default names and Failsafe's *IT, but not Failsafe's other defaults, IT* and *ITCase. With the verify goal, a module whose only tests used those names had no test files, so a change to it selected nothing. Signed-off-by: FredApps <[email protected]>
Signed-off-by: FredApps <[email protected]>
FredApps
commented
Nov 17, 2026
FredApps
left a comment
Contributor
Author
There was a problem hiding this comment.
Cross-review of 457d4f1.
Checked:
- The fix matches #210.
isTestnow accepts Failsafe's default includes,IT*,*ITand*ITCase, next to Surefire's. The match is case-sensitive, like Failsafe's. Accepting*ITregardless of goal was already the behaviour, and this keeps to it. - The new test fails on main's
maven.tsand passes with the fix.tests/repo/maven-failsafe-names.test.tsis listed inrelease-files.json. Commits are DCO-signed. The branch is level with main.
Fixed:
- 0d32557: added the
// SPDX-License-Identifier: MITheader to the new test file, as the other new test files have.
Still open: none. CI is green on 0d32557.
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 18, 2026
…ffCI#211 and DiffCI#253 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]>
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 18, 2026
…ffCI#211 and DiffCI#213 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]>
FredApps
marked this pull request as ready for review
November 18, 2026 00:56
adityankale190895
pushed a commit
that referenced
this pull request
Nov 18, 2026
* fix(maven): ignore XML comments when reading a POM parsePom read tags with regular expressions over the raw XML, comments included. A commented-out <artifactId> before the real one became the module's identity, so dependent modules no longer linked to it and a change to it selected only its own tests. A commented-out <sourceDirectory> also triggered the custom source roots fallback. Signed-off-by: FredApps <[email protected]> * fix(maven): strip POM comments without a regex replace CodeQL flagged the comment-stripping replace as incomplete multi-character sanitization. A single left-to-right pass removes the same comments and keeps an unterminated one, as before. Signed-off-by: FredApps <[email protected]> * test: add the SPDX licence header to the new test file Signed-off-by: FredApps <[email protected]> * chore: move the release-files.json entry so it merges cleanly with #211 and #253 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]> * ci: re-run checks after the Windows Python interpreter flake (#304, fixed by #310) Signed-off-by: FredApps <[email protected]> --------- Signed-off-by: FredApps <[email protected]>
adityankale190895
pushed a commit
that referenced
this pull request
Nov 18, 2026
…tterns (#253) * fix(runner-universe): resolve a leading <rootDir> in testPathIgnorePatterns Jest replaces a leading <rootDir> in testPathIgnorePatterns with the root directory. extractTestPatterns kept the token, so a pattern such as <rootDir>/e2e/ never matched and the ignored files stayed in the test universe. A change under e2e/ could then select only those files, and the planned jest e2e/flow.test.js exits 1 with "No tests found". The token is now an anchored ^/, so the pattern does not also ignore packages/*/e2e/. Signed-off-by: FredApps <[email protected]> * ci: re-run flaky merge gate smoke Signed-off-by: FredApps <[email protected]> * chore: move the release-files.json entry so it merges cleanly with #211 and #213 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]> --------- Signed-off-by: FredApps <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #210
isTestnow also accepts Failsafe's defaultIT*and*ITCasenames, next to Surefire's defaults and the*ITit already accepted. Selection is per module, so with thetestgoal a module whose only tests are integration tests is selected and runs nothing extra.Validation:
tests/repo/maven-failsafe-names.test.tsfails onmainand passes here.npm run typecheck,npm test(1168 pass),npm run audit:boundary.Unsupported: custom
<includes>in the Surefire or Failsafe configuration are still not read.