Skip to content

Remove beforeEach and afterEach test methods#44

Draft
MoonBow-1 wants to merge 2 commits into
teragrep:masterfrom
MoonBow-1:cfe-16-31
Draft

Remove beforeEach and afterEach test methods#44
MoonBow-1 wants to merge 2 commits into
teragrep:masterfrom
MoonBow-1:cfe-16-31

Conversation

@MoonBow-1
Copy link
Copy Markdown
Contributor

@MoonBow-1 MoonBow-1 commented Aug 11, 2025

Should be merged only after Pr #15 is closed!
Closes #31

  • Removes the annotated methods from test files
  • Converts Spring Boot tests to normal unit tests

@MoonBow-1 MoonBow-1 self-assigned this Aug 11, 2025
- Removes @beforeeach, @AfterEach etc. annotations from tests
- Initializes the server in each of the test methods
- ConfigurationIT is the only test left which is a SpringBootTest, that checks the Spring Boot autowiring
- Most likely a Thread related problem
- Also fixes acks not being able to be acked due to Futures
- Needs confirming
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

Successfully merging this pull request may close these issues.

Investigate possibility of removing JUnit @BeforeEach, @AfterEach etc. annotations

1 participant