Commit 1bcd572
committed
test(client): distinguish variant test cases
Several test suites run with varying environments but report tests the same way (most meaningfully by name) that are tracked as the same by infrastructure.
Update default setup to prefix test case names by variance when it is present.
Reconfigure CommonJS testing as a variant and replace MOCHA_SPEC using new FLUID_TEST_MODULE_SYSTEM environment variable. CommonJS test cases are prefixed by `[CJS]`. ESM tests remain unprefixed.
`@fluidframework/core-interfaces` which is unable to leverage `@fluid-internal/mocha-test-setup` has a cloned subset of logic and now generates reports. Its test spec was restored to `*.spec.*js` which allowed `src/test/types/fluidObjectTypes.ts` to be restored from #25292 changes.1 parent 815e150 commit 1bcd572
File tree
70 files changed
+240
-183
lines changed- examples/utils
- import-testing
- webpack-fluid-loader
- experimental
- PropertyDDS/packages
- property-changeset
- property-dds
- dds
- ot
- ot
- sequence-deprecated
- framework/tree-react-api
- packages
- common
- client-utils
- core-interfaces
- src/test
- types
- core-utils
- dds
- cell
- counter
- ink
- legacy-dds
- map
- matrix
- merge-tree
- ordered-collection
- pact-map
- register-collection
- sequence
- task-manager
- tree
- drivers
- driver-base
- local-driver
- odsp-driver
- odsp-urlResolver
- routerlicious-driver
- routerlicious-urlResolver
- tinylicious-driver
- framework
- ai-collab
- aqueduct
- attributor
- client-logger/app-insights-logger
- dds-interceptions
- fluid-static
- presence
- request-handler
- synthesize
- tree-agent
- undo-redo
- loader
- container-loader
- driver-utils
- runtime
- container-runtime
- datastore
- id-compressor
- runtime-utils
- test-runtime-utils
- service-clients/odsp-client
- test
- functional-tests
- mocha-test-setup
- src
- snapshots
- stochastic-test-utils
- test-pairwise-generator
- test-utils
- tools
- devtools
- devtools-browser-extension
- devtools-core
- fluid-runner
- utils
- odsp-doclib-utils
- telemetry-utils
- tool-utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+240
-183
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments