File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 # Run unit tests (excluding cfn_language_extensions) and fail if coverage falls below 94%
3030 @echo " NOTE: Excluding cfn_language_extensions tests. Use 'make test-all' for full coverage."
3131 pytest --cov samcli --cov schema --cov-report term-missing --cov-fail-under 94 tests/unit --ignore=tests/unit/lib/cfn_language_extensions --cov-config=.coveragerc_no_lang_ext
32+ # Golden-template suite runs as a separate pytest invocation so it
33+ # does not enter the samcli coverage calculation above.
34+ pytest tests/golden
3235
3336test-lang-ext :
3437 # Run cfn_language_extensions unit tests with coverage
@@ -37,6 +40,9 @@ test-lang-ext:
3740test-all :
3841 # Run all unit tests including cfn_language_extensions
3942 pytest --cov samcli --cov schema --cov-report term-missing --cov-fail-under 94 tests/unit
43+ # Golden-template suite runs as a separate pytest invocation so it
44+ # does not enter the samcli coverage calculation above.
45+ pytest tests/golden
4046
4147test-cov-report :
4248 # Run all unit tests with html coverage report
You can’t perform that action at this time.
0 commit comments