Closed richgreen-moj closed 1 month ago
cloudtrail ✅ - write a follow-up story to test (8 resources) https://github.com/ministryofjustice/modernisation-platform/issues/7307
support ✅ - write a follow-up story to test (1 resource) https://github.com/ministryofjustice/modernisation-platform/issues/7307
These are the resources we need to test.
I'm picking up this one as I've not done much with unit tests & go before. If anyone wants to pair with me on it then do shout. :)
Branch containing the completed support module unit test - https://github.com/ministryofjustice/modernisation-platform-terraform-baselines/tree/issue/7307. This has been tested locally against testing-test.
Added unit tests for the Support
and CloudTrail
modules.
https://github.com/ministryofjustice/modernisation-platform-terraform-baselines/pull/547
just checked and the unit test is failing /home/runner/work/modernisation-platform-terraform-baselines/modernisation-platform-terraform-baselines/test/go.mod:5: unknown directive: toolchain
Go issue resolved with PR https://github.com/ministryofjustice/modernisation-platform-terraform-baselines/pull/551
All looks good
User Story
As a MP Engineer I need to write some unit tests for the Cloudtrail and Support sub-modules sin the Baselines module So that I can increase the confidence in the modules
Value / Purpose
As a follow-on from https://github.com/ministryofjustice/modernisation-platform/issues/6490 this ticket is to add missing unit tests for some of the sub-modules in the MP Baselines module.
There are roughly 9 resources for unit testing.
Useful Contacts
@richgreen-moj
Additional Information
Follow-on from https://github.com/ministryofjustice/modernisation-platform/issues/6490
Proposal / Unknowns
No response
Definition of Done