Incremental PowerShell/Pester testing?

Recently started doing systems automation ("devops") at a shop that uses TeamCity for CI, which I note has supported incremental testing (at least via Gradle) since 7.0.

The PowerShell runner (which most people recommend for Pester Unit testing) doesn't have an 'incremental switch'. Is there a way I could create a meta-runner, or some other workaround, that would?

There are other ways around this problem for me, but I figured I'd reach out in case someone's implemented this out there.

0
1 comment

Hi,

Gradle includes incrementals on its own, teamcity simply offers the option to delegate to gradle, who takes the responsibility of handling the incremental builds/tests. Powershell is just a scripting tool, you would probably be looking at finding or creating a pester-specific runner that allows for incremental build/testing, but it probably needs to be supported by pester itself

0

Please sign in to leave a comment.