apache / apache/maven

[MNG-5952] Integration tests should not be language dependent

Open
#7,736 2 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Harald Wellmann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hwellmann)** opened **[MNG-5952](https://issues.apache.org/jira/browse/MNG-5952?redirect=false)** and commented

Some integration tests (e.g. `MavenITmng3477DependencyResolutionErrorMessageTest`) are language dependent and may fail when the system locale is not English (my default locale is de_DE.UTF-8).

Preferably, the tests should not require a particular language setting at all, or they should verify this prerequite and fail fast.

For the short term, it would help users if this prerequisite were documented in http://maven.apache.org/core-its/core-it-suite/ and `maven-integration-testing/core-it-suite/pom.xml`.

---

**Affects:** 3.3.9

1 votes, 4 watchers

Contributor guide

Open the contributing guide

Research direction

Start with MavenITmng3477DependencyResolutionErrorMessageTest and inspect maven-integration-testing/core-it-suite/pom.xml, along with the core-it-suite documentation. Run the affected integration test under a non-English locale and determine whether it can avoid language-dependent assertions or must document and verify the prerequisite. Done means the locale issue is handled consistently and the prerequisite is documented if still required.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.