Skip to content

Conversation

@eguzki
Copy link
Member

@eguzki eguzki commented Mar 2, 2021

Added unittest coverage for github.com/3scale/3scale-operator/pkg/controller/helper

Initially, unittest coverage was 33.8%

$ make coverage_total_report
....
33.8%

After this PR, 42.4%

$ make coverage_total_report
....
42.4%

@eguzki
Copy link
Member Author

eguzki commented Mar 3, 2021

progress: 35.6%

@eguzki eguzki force-pushed the unittests branch 2 times, most recently from 39f8e9b to 0500e0c Compare March 4, 2021 20:26
@eguzki eguzki force-pushed the unittests branch 2 times, most recently from c1436b0 to dd7952b Compare May 4, 2021 15:36
@eguzki eguzki requested a review from miguelsorianod May 4, 2021 16:58
@eguzki eguzki marked this pull request as ready for review May 4, 2021 16:58
@eguzki eguzki changed the title Improve unit test coverage Unit test coverage github.com/3scale/3scale-operator/pkg/controller/helper May 4, 2021
@eguzki
Copy link
Member Author

eguzki commented May 12, 2021

/retest


cl := fake.NewFakeClient(anotherProviderSecret, providerSecret, devUser1, devUser2, devUser3)

// Find only not admin users from the same provider account
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment right? it seems the test looks for admin users and not for "not admin users"

Copy link
Contributor

@miguelsorianod miguelsorianod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good to me. Great work

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 9ae83a8 and detected 0 issues on this pull request.

View more on Code Climate.

@eguzki
Copy link
Member Author

eguzki commented May 20, 2021

/retest

@eguzki eguzki merged commit bae16e5 into master May 20, 2021
@eguzki eguzki deleted the unittests branch May 20, 2021 14:01
@eguzki eguzki mentioned this pull request Aug 12, 2021
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.

4 participants