vmware / powershell-module-for-vmware-cloud-foundation-certificate-management

PowerShell Module for VMware Cloud Foundation Certificate Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-certificate-management/
BSD 2-Clause "Simplified" License
9 stars 7 forks source link

Add pester testcases for automated testing of the code #117

Open Ashwini-Ravi opened 1 month ago

Ashwini-Ravi commented 1 month ago

Code of Conduct

Description

Today we have manual testing process to test the VMware.CloudFoundation.CertificateManagement code, but this has to be put in CD/CI pipeline to automate the testing process for repeatable testing before pushing to public GitHub to test on the quality of the fix and to minimize regression defects. This also ensures, time consumed for less in testing the code.

Use Case(s)

Suppose if manual testing takes about x time, automation of the same takes x/2. Also it is more reliable and you can test even negative testcases easily.

Potential Configuration

writing pester testcases to automate the testing process In the current code structure, there will be /tests folder, under that pester testcases will be available for testing Also it requires input json file to hold all the credential information

References

No response

tenthirtyam commented 1 week ago

Reassigning to @sowjuec.