generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 293
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
🧪 Improve Quality and Coverage of Unit Tests in modernisation-platform-instance-scheduler
#6687
Labels
code quality
go
Pull requests that update Go code
technical debt
This issue is either technical debt or an issue that will lead to technical debt as time goes by.
testing
Comments
connormaglynn
added
needs refining
go
Pull requests that update Go code
technical debt
This issue is either technical debt or an issue that will lead to technical debt as time goes by.
testing
code quality
labels
Apr 3, 2024
connormaglynn
changed the title
🧪 Improve Quality and Coverage of Unit Test in
🧪 Improve Quality and Coverage of Unit Tests in Apr 3, 2024
modernisation-platform-instance-schedular
modernisation-platform-instance-schedular
dms1981
changed the title
🧪 Improve Quality and Coverage of Unit Tests in
🧪 Improve Quality and Coverage of Unit Tests in May 9, 2024
modernisation-platform-instance-schedular
modernisation-platform-instance-scheduler
This was referenced May 20, 2024
Merged
Merged
🆙 Update
👀 Remaining Work
📝 Notes
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
code quality
go
Pull requests that update Go code
technical debt
This issue is either technical debt or an issue that will lead to technical debt as time goes by.
testing
User Story
As a Modernisation Platform Engineer
I expect to have a high confidence that unit tests will capture any errors in my code
So that I can be confident my changes do not contain bugs or unintended breaking changes
Value / Purpose
The value of increasing the unit test coverage in the instance scheduler is to ensure engineers can be aware sooner if their changes break anything since unit tests are quick and easy to run locally.
This also has the benefit of being less dependent on our current integration testing process to capture bugs, meaning we can start to move away from this implementation of quality assurance.
Ideally, as well, properly unit testing the code will help highlight areas of the code that can/should be refactored to be more modular, less coupled and ultimately easier to test, read and understand.
Useful Contacts
No response
Additional Information
Proposal / Unknowns
Hypothesis If we... [do a thing] Then... [this will happ]
Proposal A proposal that is something testable, don't worry whether it works or not, it's a place for ideas.
Unknowns Potential pitfalls that could cause the story to expand beyond its original scope. Ideally this section will remain blank.
Definition of Done
The text was updated successfully, but these errors were encountered: