test: disambiguate e2e and perf spec files (#34753)
Currently, based on the file names it's not quite clear whether a given `.spec.ts` file runs benchmark perf or benchmark e2e functionality tests. To disambiguate these, we use new file suffixs. i.e. `e2e-spec.ts` and `perf-spec.ts`. PR Close #34753
This commit is contained in:

committed by
Andrew Kushnir

parent
4d88b4bc26
commit
9c55fc0f13
@ -7,7 +7,7 @@ ng_module(
|
||||
name = "application_lib",
|
||||
srcs = glob(
|
||||
["**/*.ts"],
|
||||
exclude = ["**/*.spec.ts"],
|
||||
exclude = ["**/*.perf-spec.ts"],
|
||||
),
|
||||
generate_ve_shims = True,
|
||||
deps = [
|
||||
@ -22,7 +22,7 @@ ng_module(
|
||||
ts_library(
|
||||
name = "perf_lib",
|
||||
testonly = 1,
|
||||
srcs = ["benchmark_perf.spec.ts"],
|
||||
srcs = ["class_bindings.perf-spec.ts"],
|
||||
deps = [
|
||||
"//modules/e2e_util",
|
||||
"@npm//protractor",
|
||||
|
@ -9,7 +9,7 @@
|
||||
import {$, browser} from 'protractor';
|
||||
import {runBenchmark} from '../../../e2e_util/perf_util';
|
||||
|
||||
describe('benchmarks', () => {
|
||||
describe('class bindings perf', () => {
|
||||
|
||||
it('should work for update', done => {
|
||||
browser.rootEl = '#root';
|
Reference in New Issue
Block a user