Feat/shield subscription controller#6233
Conversation
matthiasgeihs
left a comment
There was a problem hiding this comment.
Please be mindful that more tests is not always better.
Having a lot of tests also means that applying changes to the functionality will require a lot of changes to the tests, which costs time.
When writing tests, make sure that you avoid code duplication and try to use a single setup function across a suite of tests, so that it's easy to change things in the setup without having to change it across all tests individually.
matthiasgeihs
left a comment
There was a problem hiding this comment.
There is one untested branch, which is worthwhile testing and is also easy to test. Then you can adjust coverage thresholds to 100%.
Otherwise looks good 👍
41719fe
|
Hi @cryptodev-2s i have addressed the comments, please help me re-review the PR |
cryptodev-2s
left a comment
There was a problem hiding this comment.
LGTM! Could you please also his controller the Controller Metadata Survey
Explanation
Create Shield Subscription controller
References
Changelog
Checklist