angular-docs-cn/packages/compiler-cli/test/compliance/test_helpers
Pete Bacon Darwin 09ba30ef29 test(compiler-cli): improve compliance test compile mode filtering (#39939)
Previously one could set a flag in a `TEST_CASES.json` file to exclude
the test-cases from being run if the input files were being compiled
partially and then linked.

There are also scenarios where one might want to exclude test-cases
from "full compile" mode test runs.

This commit changes the compliance test tooling to support a new
property `compilationModeFilter`, which is an array containing one or
more of `"full compile"` and `"linked compile"`. Only the tests
whose `compilationModeFilter` array contains the current compilation
mode will be run.

PR Close #39939
2020-12-07 16:21:04 -08:00
..
BUILD.bazel test(compiler-cli): move testing utils to separate package (#39594) 2020-11-17 11:59:56 -08:00
check_errors.ts test(compiler-cli): log unexpected compilation errors in compliance test runner (#39862) 2020-12-02 14:56:38 -08:00
check_expectations.ts test(compiler-cli): migrate template compliance tests (#39871) 2020-12-01 14:58:11 -08:00
compile_test.ts test(compiler-cli): improve compliance test performance (#39956) 2020-12-04 10:17:21 -08:00
di_checks.ts test(compiler-cli): convert di compliance tests (#39863) 2020-11-30 11:21:23 -08:00
expect_emit.ts test(compiler-cli): migrate i18n compliance tests (#39661) 2020-11-25 11:08:39 -08:00
expected_file_macros.ts test(compiler-cli): convert components & directives compliance tests (#39920) 2020-12-03 13:41:20 -08:00
function_checks.ts test(compiler-cli): migrate template compliance tests (#39871) 2020-12-01 14:58:11 -08:00
get_compliance_tests.ts test(compiler-cli): improve compliance test compile mode filtering (#39939) 2020-12-07 16:21:04 -08:00
golden_partials.ts test(compiler-cli): ensure that golden partial files are parsed accurately (#39939) 2020-12-07 16:21:02 -08:00
i18n_checks.ts test(compiler-cli): migrate i18n compliance tests (#39661) 2020-11-25 11:08:39 -08:00
i18n_helpers.ts test(compiler-cli): migrate i18n compliance tests (#39661) 2020-11-25 11:08:39 -08:00
test_runner.ts test(compiler-cli): improve compliance test compile mode filtering (#39939) 2020-12-07 16:21:04 -08:00