testng-team / testng-team/testng-asserts
Assertion message is displayed only until the "expected" keyword
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
TestNG Version
7.5.0
Expected behavior
The entire message should be displayed.
e.g. Text is not expected. It should be this
Actual behavior
The message is displayed only until "expected".
e.g. Text is not
Is the issue reproducible on runner?
- Shell
- Maven
- Gradle
- Ant
- Eclipse
- IntelliJ
- NetBeans
Test case sample
Please, share the test case (as small as possible) which shows the issue
@Test
public void well(){
Assert.assertTrue(false, "Text is not expected. It should be this");
}
As far as I've seen, it's the same for all assertion messages.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided Java test case and the Assert.assertTrue entry point using TestNG 7.5.0. Reproduce the failure through Maven or IntelliJ, then trace how assertion messages are rendered. Done means the complete message, including text after "expected", is displayed for assertion failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100