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
Describe the bug
I would expect the report.xml generated by terratest_log_parser to contain the reason for the test failure.
However, terratest_log_parser loses the assertion results
To Reproduce
go test -count=1 -v | tee test_output.log
The above command created the following lines in the test_output.log:
--- FAIL: TestHelloWorldTerraform (0.74s)
terraform_hello_world_test.go:193:
Error Trace: /mnt/c/terratest/terraform_hello_world_test.go:193
Error: Not equal:
expected: "Hello foo eRcjAe"
actual : "Hello eRcjAe"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-Hello foo eRcjAe
+Hello eRcjAe
Test: TestHelloWorldTerraform
FAIL
exit status 1
terratest_log_parser -testlog test_output.log -outputdir test_output --log-level info
The above command created the following report.xml:
Describe the bug
I would expect the report.xml generated by
terratest_log_parser
to contain the reason for the test failure.However, terratest_log_parser loses the assertion results
To Reproduce
go test -count=1 -v | tee test_output.log
The above command created the following lines in the test_output.log:
terratest_log_parser -testlog test_output.log -outputdir test_output --log-level info
The above command created the following report.xml:
Expected behavior
I would expect the report.xml to include
TestHelloWorldTerraform
Versions
The text was updated successfully, but these errors were encountered: