06d3114763
This automation is used for basic validation of PS packages during a release; Covered configs: ubuntu14.04 ubuntu16.04 ubuntu17.04 debian.8 debian.9 centos7 fedora25 fedora26 kalilinux opensuse42.2 During the process Docker files are filled out and executed with Docker build; During the build PS packages are downloaded onto Docker containers, installed and selected Pester tests from PowerShell Github repo are executed. |
||
---|---|---|
.. | ||
Templates | ||
container.tests.ps1 | ||
containerTestCommon.psm1 | ||
README.md |
Docker tests
Windows and Linux containers
The tests must be run separately on the Windows and Linux docker daemons. You can use the Linux docker daemon on Windows, but that will only test Linux containers not Windows Containers.
To building and basic behavior of the containers
Invoke-Pester
Note: be sure to do this using both the Windows and Linux docker daemon, as the windows.
To test the productions containers
Invoke-Pester -Tag Behavior
To test only building the containers
Invoke-Pester -Tag Build