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

service: add unit tests #447

Merged
merged 11 commits into from
Sep 24, 2018
Merged

service: add unit tests #447

merged 11 commits into from
Sep 24, 2018

Conversation

ilgooz
Copy link
Contributor

@ilgooz ilgooz commented Sep 11, 2018

this PR enables integration tests with build flags and and covers some of the unit tests for service package

@ilgooz ilgooz added this to the v1.2.0 milestone Sep 11, 2018
@ilgooz ilgooz self-assigned this Sep 11, 2018
service/dependency.go Show resolved Hide resolved
@NicolasMahe
Copy link
Member

Is it still WIP?

@ilgooz
Copy link
Contributor Author

ilgooz commented Sep 19, 2018

@NicolasMahe I was evaluating for all techniques for unit testing after @krhubert suggestion with testify/mock. The original idea was to experiment with dockertest for service and api packages too and bring some knowledge from unit testing of go-service and go-application onto table and give a final decision about refactoring dockertest. But I think, I'll go with completing unit tests of service package today and give my decision about which mocking/faking techniques we should go with for core.

@ilgooz
Copy link
Contributor Author

ilgooz commented Sep 24, 2018

conflicts are resolved

@NicolasMahe NicolasMahe merged commit c06cb82 into dev Sep 24, 2018
@NicolasMahe NicolasMahe deleted the feature/service-unit-tests branch September 24, 2018 11: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.

3 participants