Skip to content

Conversation

@adambarreiro
Copy link
Contributor

@adambarreiro adambarreiro commented Feb 27, 2025

⚠️ Built on top of #46

This PR recovers the binary testing feature that is already available in https://github.com/vmware/terraform-provider-vcd.

Binary tests run HCL files generated by the regular Acceptance tests with a real Terraform executable binary.

These tests can be prepared with make test-binary-prepare (just creates the HCL files) or with make test-binary to launch them.

abarreiro added 18 commits February 24, 2025 10:42
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro self-assigned this Feb 27, 2025
abarreiro added 6 commits February 27, 2025 14:28
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro marked this pull request as ready for review March 4, 2025 11:55
abarreiro added 2 commits March 4, 2025 14:50
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Copy link
Contributor

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried out the mechanism by running a few tests and building/rebuilding them. It worked. Thanks!

abarreiro added 2 commits March 6, 2025 15:54
Copy link

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove those not needed TODOs and merge :)

@adambarreiro adambarreiro merged commit 0b17ebf into vmware:main Mar 13, 2025
2 checks passed
@adambarreiro adambarreiro deleted the binary-tests branch March 13, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants