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

[Question] In-process and Out of process component tests #2

Open
shekhar-patil27 opened this issue May 18, 2018 · 0 comments
Open

[Question] In-process and Out of process component tests #2

shekhar-patil27 opened this issue May 18, 2018 · 0 comments

Comments

@shekhar-patil27
Copy link

Hi Toby,

Thanks for putting up such a useful article. While going through document I am not able to understand the concept of In-process and Out of process component tests process properly it would be helpful if you could help me to understand following points.

  1. There is a reference about pre-built libraries which can be helpful to implement "in-process" component test, e.g. "inproctester" for JVM does this library gets used to implement internal resource or should be used to request-response service under test.

  2. "In order to isolate the microservice from external services, gateways can be configured to use test doubles instead of real protocol level clients", does this mean we need to remove service registry or discovery and have APIGateway to talk to "test doubles" and for Out of process component tests there is a need to redirect request via service registry or discovery to "test doubles"?

  3. As per my understanding as "internal resources" being used to configure "test doubles" and "setup data", if there is a change in persistence technology or external service communications so we need to change "internal resources" accordingly

  4. Will it be possible you to redirect me any git repository which has implemented In-process and Out of process component tests

Thanks,
Shekhar

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