Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect exception handling #361

Open
Hello-zoka opened this issue Sep 13, 2024 · 0 comments
Open

Incorrect exception handling #361

Hello-zoka opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Hello-zoka
Copy link
Collaborator

Hello-zoka commented Sep 13, 2024

Extends issue #298
Describe the bug

Method createXmlFromJacoco return non-empty string if test case outputs smth. The reason for this is that CommandLineRunner returns the output of the command line process as a string.

If such outputs contain exception-like output(e.g., stack trace), such execution will be held incorrectly

To Reproduce
Generate a test on a class/method outputting something to the stdout

Expected behavior
If execution is successful return an empty string

@Hello-zoka Hello-zoka added the bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant