apache / apache/maven-surefire
[SUREFIRE-1734] Output log error running tests don't show entirely
- Dominant language
- Java
- Stars
- 461
- Forks
- 588
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 19
Description
**[Shayane Alcantara](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=shayanealcantara)** opened **[SUREFIRE-1734](https://issues.apache.org/jira/browse/SUREFIRE-1734?redirect=false)** and commented
**Describe the bug**
When compiling any application and there is an test error or failure with a lot of caracteres, the output log doesn't show the entire log, compromising the understanding.
**To reproduce**
Steps to reproduce:
1. Introduce some error to see the log
`2. Run sudo mvn test`
3. If the error has a lot of caracteres, the log will be cut.
`4. See the cut log.`
**Expected behavior**
The entire log should be visible.
**Screenshots**
!Captura de tela de 2019-12-05 11-44-10.png!
---
**Attachments:**
- [Captura de tela de 2019-12-05 11-44-10.png](https://issues.apache.org/jira/secure/attachment/12987610/Captura+de+tela+de+2019-12-05+11-44-10.png) (_22.28 kB_)
Contributor guide
Research direction
Start by reproducing the issue with `sudo mvn test` using a test error or failure with a long message, then trace where the Surefire test output is truncated. The work is done when the complete error or failure log is visible rather than cut off.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100