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

OP-336 Convert test to junit5 and test contextLoads() method #429

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

mwithi
Copy link
Member

@mwithi mwithi commented Jan 31, 2024

See OP-336.

Not sure if to have contextLoads() test though, by the moment it is slows down the whole test suite

Copy link
Collaborator

@dbmalkovsky dbmalkovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@emecas emecas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is exactly what I did, to verified it was working on, removing the comments from the test, no chance to test against the original issue running it on Eclipse.

I appreciate your effort in verifying that the loading context is working correctly. However, since this test does not provide any additional value and may actually slow down the tests execution, it's recommended to remove it. The loading context is implicitly tested by other tests that run as SpringBootTest.

@mwithi mwithi merged commit 6acd1bf into develop Feb 1, 2024
2 checks passed
@mwithi mwithi deleted the OP-336_convert_test_to_junit5_and_test_contextload branch February 1, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants