You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b97505b
Browse filesBrowse the repository at this point in the historyBrowse files
test(benchmark): split the e2e suites out of this PR
The harness, the unit benches and the measurement CI each raise a
different review question. Keep this PR to the harness and the unit
suites; the e2e benches, the webpack lifecycle helpers and project
generators only they use, and their selection rules move to their own PR.
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ The directory listings below are the canonical map of the repository. **Whenever
103
103
**Tests** — see [TESTING_DOCS.md](TESTING_DOCS.md) for directory structure, naming, and how to run a single case.
104
104
105
105
-`test/` — All test suites (`cases/`, `configCases/`, `watchCases/`, `hotCases/`, `statsCases/`, `typesCases/`, `test262-cases/`, `html5lib-tests/`, `wpt/`, `css-parsing-tests/`, `benchmarkCases/`, `memoryLimitCases/`, etc.). `RoundTripConfigCases` re-bundles the output of `configCases` marked with a `roundTrip.js` file. `wpt/` is web-platform-tests, checked out one commit deep by the `html5lib` job alone — it is where the HTML tree-construction corpus lives since html5lib-tests dropped it.
106
-
-`test/benchmark/` — Non-comparative benchmark harness (`lib/`), unit benchmarks (`unit/`) and full-build benchmarks (`e2e/`); see `test/benchmark/README.md`.
106
+
-`test/benchmark/` — Non-comparative benchmark harness (`lib/`) and unitbenchmarks (`unit/`); see `test/benchmark/README.md`.
Copy file name to clipboardExpand all lines: TESTING_DOCS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,9 @@ This document explains the structure of the `test/` directory in the Webpack pro
23
23
24
24
### 2b. `benchmark/`
25
25
26
-
-**Purpose**: Non-comparative, CodSpeed-integrated benchmarks: `unit/` for webpack internals, `e2e/` for full builds, `lib/` for the harness itself.
27
-
-**Usage**: `yarn benchmark:unit`, `yarn benchmark:e2e` or `yarn benchmark:suite`; see [test/benchmark/README.md](test/benchmark/README.md).
28
-
-**Kept working by**: `test/Benchmarks.unittest.js`, which runs every `unit/`suite once (`--smoke`) as part of `yarn test:unit`, and the `yarn benchmark:e2e --smoke` step in the `unit` CI job. Measurement itself only runs on schedule or behind a label, so without these a suite broken by a `lib/` change would stay unnoticed until then.
26
+
-**Purpose**: Non-comparative, CodSpeed-integrated benchmarks: `unit/` for webpack internals, `lib/` for the harness itself.
27
+
-**Usage**: `yarn benchmark:unit` or `yarn benchmark:suite`; see [test/benchmark/README.md](test/benchmark/README.md).
28
+
-**Kept working by**: `test/Benchmarks.unittest.js`, which runs every suite once (`--smoke`) as part of `yarn test:unit`. Measurement itself only runs on schedule or behind a label, so without it a suite broken by a `lib/` change would stay unnoticed until then.
0 commit comments