Intended Use
rtabit opened this issue · comments
So is the intended use of this to have automated tests of automated configuration changes? So say you make some changes to your DSC or whatever configuration and check it in. System would then spin up some nodes with new DSC changes and use OVF to test those changes. Is something similar to that the scenario where I would use this or am I getting this wrong. Thanks.
@rtabit That is indeed a scenario you could use OVF with. Keep in mind, OVF is really just a mechanism to package Pester tests into a module for distribution / discovery. What those Pester tests do is up to you. You could have OVF tests packaged with your DSC modules to validate the operation of whatever those DSC resources configure. You could also create more generic OVF modules that test common infrastructure and publish them to the PowerShell Gallery for others in the community to consume.
Here is a talk I did recently about infrastructure testing with Pester. OVF is just one tool you could use for this.
https://youtu.be/YYupOzqTgTs
it doesn't have to be DSC. I can spawn infrastructure with Terraform or Ansbile on for example Azure, and then use OVF to test that the resources actually exist.