You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Now Go back to folder aws-observability-terraform and run following command to execute all Test functions, with function name pattern as Test*
17
-
```go test -v -timeout 50m ./test/appmodule```
16
+
3. Now Go back to folder aws-observability-terraform and
17
+
- Run the following command to execute all Test functions, with function name pattern as Test*
18
+
```go test -v -timeout 120m ./test/appmodule```
19
+
For single Terratest case
20
+
```go test -v -timeout 30m ./test/appmodule -run ^TestAppModule1$```
18
21
4. Go test command runs all functions starting with name Test*. So if you want to run a particular test case according to your use case, comment the rest of the Testing functions. It’ll take less time to run than running all test cases.
19
22
5. In case of failure - you can determine the cause of failure, fix the issue and re-run the failed test case.
20
23
6. For example if you only run testcase 3 you can expect successful test execution as follows:
4. Go to folder aws-observability-terraform and run following command to execute all Test functions, with function name pattern as Test*
20
-
```go test -v -timeout 50m ./test/sourcemodule```
19
+
4. Go to folder aws-observability-terraform and
20
+
- Run following command to execute all Test functions, with function name pattern as Test*
21
+
```go test -v -timeout 100m ./test/sourcemodule```
22
+
For single Terratest case
23
+
```go test -v -timeout 20m ./test/sourcemodule -run ^TestSourceModule1$```
21
24
5. Go test command runs all functions starting with name Test*. So if you want to run a particular test case according to your use case, comment the rest of the Testing functions. It’ll take less time to run than running all test cases.
22
25
6. For example if you only run testcase 3 you can expect successful test execution as follows:
0 commit comments