Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Introduce an unit testing library #6

Open
1 of 3 tasks
teneko opened this issue Nov 6, 2022 · 0 comments
Open
1 of 3 tasks

Introduce an unit testing library #6

teneko opened this issue Nov 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@teneko
Copy link
Member

teneko commented Nov 6, 2022

As the scenarios get more and more complex, we need a unit testing library for bootstrapping Terraform more easily. The requirement is to make it consumable by users of PseudoDynamic.Terraform.Plugin.Sdk.

Not only unit testing should be made possible but also integration tests*1 (see here) and acceptance tests*2 (see here).

*1 Integration tests are those tests where you create a plugin server instance inside the same process as the running test where you can mock parts of the plugin server.

*2 Acceptance tests are those tests where you create an process-indepdent plugin server instance and checks the reality after running Terraform against the plugin server.

TODO:

@teneko teneko added the enhancement New feature or request label Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant