Skip to content

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

@shekhar-patil27

Description

@shekhar-patil27

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions