Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

[tests only] Mocks for handlers #67

Merged
merged 3 commits into from
Aug 28, 2020
Merged

[tests only] Mocks for handlers #67

merged 3 commits into from
Aug 28, 2020

Conversation

kulmann
Copy link
Member

@kulmann kulmann commented Aug 28, 2020

We need to be able to mock our service handlers in tests (at the moment needed in ocis-proxy)

@kulmann kulmann changed the title Mocks for handlers [tests only] Mocks for handlers Aug 28, 2020
@kulmann kulmann self-assigned this Aug 28, 2020
@individual-it
Copy link
Member

why not just start the depending service?

@kulmann
Copy link
Member Author

kulmann commented Aug 28, 2020

why not just start the depending service?

For unit tests

@IljaN
Copy link
Member

IljaN commented Aug 28, 2020

Imo starting the depending service could be also a valid approach even for "unit-tests" if you see proxy and accounts-service as one unit. Ofcourse this will impact test-runtime etc...

@kulmann
Copy link
Member Author

kulmann commented Aug 28, 2020

I don't agree. I want to run quick tests in my IDE all the time, so that I can find issues early. Those should not depend on a separate service.

@kulmann kulmann requested a review from PVince81 August 28, 2020 12:49
@butonic butonic merged commit 0cc0f5b into master Aug 28, 2020
@delete-merged-branch delete-merged-branch bot deleted the settings-mock branch August 28, 2020 13:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants