Files
PowerShell-PowerShell/docker/tests
Andrew 0e8665dfc0 Updated Docker package tests, fixed error on opensuse42 (#6783)
This PR addresses minor issues with PS-package docker tests.

Historically rpm package version string was different from other packages, however, this is no longer the case, so updating tests to account for that (to simplify things - removing RPM-version parameter from dockerfiles because it is no longer used).
Configs that use 'linux-x64.tar.gz' (currently only "opensuse42.2") are failing, so fixing that in the script.
2018-05-01 10:38:43 -07:00
..

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