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

Refactor tests to avoid handling of System.out #660

Open
abelsromero opened this issue Jul 17, 2023 · 0 comments
Open

Refactor tests to avoid handling of System.out #660

abelsromero opened this issue Jul 17, 2023 · 0 comments

Comments

@abelsromero
Copy link
Member

In some tests we capture System.out to assert certain messages, which prevents from running them in parallel.

We can explore using an ListAppender like

Logger logger = (Logger) LoggerFactory.getLogger(Extensions.class);
listAppender = new ListAppender<>();
listAppender.start();
logger.addAppender(listAppender);
@abelsromero abelsromero changed the title Refactor tests to aboud handling of System.out Refactor tests to avoid handling of System.out Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant