Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
WIP - Add unit testing with Pester for PowerShell modules #54965
Adds the ability to create unit tests for PowerShell modules and module utils in ansible-test. This is a basic POC to test out what we need to have in place for this to work. Currently it works by running the tests on the local PSCore container instead of on an actual Windows host. This means that calls to .NET functions that are unavailable on Windows will have to be mocked out but I'm hopeful we can still do proper unit tests this way without the overhead of managing and actual Windows host.
Items that need further discussion;