userver icon indicating copy to clipboard operation
userver copied to clipboard

Add support for integration tests, a.k.a. testsuite tests with multiple services

Open Anton3 opened this issue 1 year ago • 0 comments

userver fixtures rely on only 1 service being there: 1 service binary and config locations, 1 config, 1 set of ports, 1 set of clients, etc.

All of this will need to somehow be refactored. Perhaps we can retain the current fixtures with the philosophy that they will refer to the "primary" service, while some support will be given to start "secondary" services.

Until the issue is resolved, it is suggested that each service defines a testsuite fixture with mocks for all its handlers.

Anton3 avatar Nov 08 '23 10:11 Anton3