8000 change BaseClass test class to run as a MockitoJunitRunner, instead … by gunayus · Pull Request #1 · spring-guides/gs-contract-rest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

change BaseClass test class to run as a MockitoJunitRunner, instead … #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gunayus
Copy link
Contributor
@gunayus gunayus commented Jan 9, 2018

BaseClass.java is modified to run it as a Mockito Junit Runner instead of starting the whole Spring application context. This will improve the performance by eliminating the spring application context bootstrap time.

@marcingrzejszczak
Copy link
Contributor

LGTM

@dsyer
Copy link
dsyer commented Jan 9, 2018

I'm not sure I would want to do this without explaining it in the README (guide text).

@gregturn
Copy link
Contributor
gregturn commented Jan 9, 2018

Agree with @dsyer. Looks like your picking Mockito DI over Spring DI. Illustrating the tradeoff in the text is a must or it could trigger an argument.

@dsyer dsyer changed the title change BaseClass test class to run as a MockitonJunitRunner, instead … change BaseClass test class to run as a MockitoJunitRunner, instead … Feb 8, 2018
@marcingrzejszczak
Copy link
Contributor

Hey @gunayus any chance for an update of the readme?

@gregturn gregturn changed the base branch from master to main April 27, 2021 14:18
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.

4 participants
0