- This topic has 1 reply, 2 voices, and was last updated 2 months, 3 weeks ago by
June 29, 2020 at 6:06 am #238844ParticipantTopics: 1Replies: 0Points: 11Rank: Member
I’m using Powershell DSC in a Gitlab CI Pipeline to deploy On premise Windows machines like Exchange Servers, Active Directory.
At the end of the pipeline I perform some pester integration/Functionnal tests remotely using Nodes defined in Configuration Data file.
At this moment I limit myself in testing Windows Service Status.
I would like to go further and check that each settings that has been set in my DSC script is correctly set on the target node (Example: DAG configuration, replication configuration, etc)
Are there any prepackaged Pester Scripts to avoid creating what already exists?
Does “Integration Test Scripts” Folder contained in xExchange or ActiveDirectoryDSC Module could help me? How should I use them?
Maybe my need is Almost Functionnal Testing rather than Integration TEsting.
- This topic was modified 2 months, 3 weeks ago by Jay-7520.
June 29, 2020 at 8:08 am #238895Senior ModeratorTopics: 9Replies: 1309Points: 4,781Rank: Community Hero
IMO, rather than checking the settings separately, why wouldn’t you depend on Get-DscConfigurationStatus.
Look at DSCEA, something not much used, but somewhat good to get a UI for configuration state.
- This reply was modified 2 months, 3 weeks ago by kvprasoon. Reason: post correction
- You must be logged in to reply to this topic.