Skip to content

Commit

Permalink
include readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Khatraf committed May 24, 2024
1 parent 63f0bd7 commit 2cdf64b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Run the tests from within the `test` directory using the `testing-ci` user crede
Get the credentials from secrets manager using the helper script in the modernisation-platform main repo.

```
cd modernisation-platform/scripts/internal/
cd modernisation-platform/scripts/internal/get-testing-ci-user-creds
aws-vault exec mod -- go run get_testing_creds.go
```

Expand All @@ -38,14 +38,14 @@ go test -v
Upon successful run, you should see an output similar to the below

```
TestS3Creation 2022-06-08T14:29:22+01:00 logger.go:66: Destroy complete! Resources: 3 destroyed.
TestS3Creation 2022-06-08T14:29:22+01:00 logger.go:66:
--- PASS: TestS3Creation (20.60s)
TestLambdaCreation 2024-05-24T16:05:07+01:00 logger.go:66: Destroy complete! Resources: 29 destroyed.
TestLambdaCreation 2024-05-24T16:05:07+01:00 logger.go:66:
--- PASS: TestLambdaCreation (509.19s)
PASS
ok github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket-replication-role 20.897s
ok github.com/ministryofjustice/modernisation-platform-terraform-lambda-function 509.522s
```

## References

1. https://terratest.gruntwork.io/docs/getting-started/quick-start/
2. https://github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket-replication-role/blob/main/.github/workflows/go-terratest.yml
2. https://github.com/ministryofjustice/modernisation-platform-terraform-lambda-function/blob/main/.github/workflows/go-terratest.yml

0 comments on commit 2cdf64b

Please sign in to comment.