Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

tests(serviceapp): adds validations.go coverage (AEROGEAR-8951) #104

Merged

Conversation

damienomurchu
Copy link
Contributor

@damienomurchu damienomurchu commented May 28, 2019

Motivation

AEROGEAR-8951

What

Add test coverage for gaps in serviceapp pkg

Why

Add test coverage

How

Add test coverage for gaps in serviceapp pkg

Verification Steps

Confirm tests complete successfully:

  • confirm tests run locally (GOCACHE=off go test -cover github.com/aerogear/mobile-security-service-operator/pkg/controller/mobilesecurityserviceapp -v)
  • confirm tests are passing in CI in this PR

Checklist:

  • Code has been tested locally by PR requester
  • Changes have been successfully verified by another team member

Progress

  • Finished task

Additional Notes

@camilamacedo86
Copy link
Contributor

Hi it is already done here: #103

@damienomurchu
Copy link
Contributor Author

damienomurchu commented May 28, 2019

Hi it is already done here: #103

@camilamacedo86 I didn't realise you were working on these tests. Just looking at the test coverage added by this PR, and it will increase the coverage higher than the tests in your PR:

Test coverage for #103 (from coveralls UI):
Screenshot from 2019-05-28 14-52-30

Test coverage for this PR (#104):
Screenshot from 2019-05-28 14-52-05

I suggest we merge in this PR, and then add the coverage from your PR when it gets merged

@damienomurchu damienomurchu merged commit c65b0b6 into aerogear:master May 28, 2019
@damienomurchu damienomurchu deleted the serviceapp-pkg-tests branch May 28, 2019 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants