summaryrefslogtreecommitdiff
path: root/omnibus/omnibus-test.ps1
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-12-13 10:07:16 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-12-13 10:07:16 -0800
commitd75137590c6a1e138c02f5a42f8c9e12732c94c7 (patch)
tree11a6a020c7efc0d32ffc1d5cac60f9c844ee8f34 /omnibus/omnibus-test.ps1
parent9ac6b156fb8aa21fa9b79e829bf677d98bc23909 (diff)
downloadchef-d75137590c6a1e138c02f5a42f8c9e12732c94c7.tar.gz
try unit + functional tests
integration tests have license-acceptance issues that i wasn't able to figure out last night Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'omnibus/omnibus-test.ps1')
-rw-r--r--omnibus/omnibus-test.ps18
1 files changed, 6 insertions, 2 deletions
diff --git a/omnibus/omnibus-test.ps1 b/omnibus/omnibus-test.ps1
index dfa69d74b1..875813e56b 100644
--- a/omnibus/omnibus-test.ps1
+++ b/omnibus/omnibus-test.ps1
@@ -91,6 +91,10 @@ winrm quickconfig -quiet
bundle
If ($lastexitcode -ne 0) { Exit $lastexitcode }
-# chocolatey functional tests fail so disable that tag directly
-bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation --tag ~choco_installed spec/functional
+# NOTE: we have unit tests in chef/chef which ARE NOT unit tests. We need to run them on the actual shipping production artifact on the
+# actual distro that they're expected to run on, or we lose test coverage, which leads to shipping regressions. We need to run all the
+# tests here before shipping. The integration specs have been removed due to bugginess with license acceptance, but that should be fixed.
+#
+# chocolatey functional tests fail so disable that tag directly <-- and this is a bug that needs fixing.
+bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation --tag ~choco_installed spec/functional spec/unit
If ($lastexitcode -ne 0) { Exit $lastexitcode }