Repository navigation
Commit 86bbadb
authored
test: cover untested FR-044 reporting features across conformance corpora (#423)
* test(reporting): cover more FR-044 features in the canonical test model and every port
Adds 12 reports to the canonical fitness model (and a Session entity) and
grows the api-contract report corpus to four entities and nine reports, so
the report corpora exercise vocabulary they did not before: multi-hop and
self-referencing dimensions, day/quarter/year/hour/date time grains,
min/max/avg/count-distinct over more column types, negative and decimal
measure defaults over an empty table, measure filters on the remaining
operators, segment and report filters combining like/in/or/ne, a two-hop
@spine, and a TPH base as @from.
- persistence-conformance: 10 new report query scenarios, all five ports
- api-contract-conformance/report: 6 new scenarios (22 in all), all five ports
- cube-model goldens and the live Cube lane cover the new reports
- committed derived artifacts regenerated with the repo's own tools
- test-harness fixes only: date and uuid operand coercion in the Java and C#
runners, `like` and uuid in the seam lanes' in-memory report repositories,
and the SQLite convergence test's known inet residue
- removes a stray generated temp directory committed in #420, which turned
the ts build + typecheck gate red on main
No product port defect was found, so no CHANGELOG entry.
* test(reporting): run the new report scenarios on SQLite, MySQL and D1 and the MySQL Cube lane
The engine lanes added in #421 now run all 19 report scenarios. The MySQL adopter tables gain
the nodes, sessions, measurements, auths and all_types tables, the api-contract MySQL schema
gains the disputed/category/sku columns, and the MySQL Cube lane covers all 21 served reports.
A naive timestamp keeps its wall clock without a zone suffix on the SQLite and D1 wire form;
two scenarios no longer depend on engine-specific NULL ordering or on a Postgres-only clock
expression.
* test(integration-tests-kotlin): coerce a date filter operand on SQLite and read min/max timestamps there
The Kotlin SQLite lane spells a DATE column's SQL type as TEXT, so the string
operand of a date filter reached Exposed uncoerced; key the coercion on the column
type as well. The report-time-min-max seed now spells its timestamps in the form the
SQLite driver's date_string_format parses (fixture seed only; expect blocks unchanged).1 parent 7daa8e6 commit 86bbadb
124 files changed
Lines changed: 4285 additions & 324 deletions
File tree
- docs
- features
- fixtures
- api-contract-conformance/report
- scenarios
- cube-model/canonical
- expected/model
- cubes
- views
- persistence-conformance
- canonical
- migrations
- queries
- server
- csharp
- MetaObjects.Codegen.Tests
- MetaObjects.Conformance.Tests
- MetaObjects.IntegrationTests
- Api
- Generated
- Runner
- java
- codegen-spring/src/test/java/com/metaobjects/generator/spring
- integration-tests-kotlin/src/test/kotlin/com/metaobjects/integration/kotlin
- api/report
- generated
- tables
- integration-tests/src/test/java/com/metaobjects/integration
- api
- generated
- metadata/src/test/java/com/metaobjects/reporting
- python/tests
- integration
- runtime
- typescript/packages
- codegen-ts/test
- cube
- integration-tests
- cube-live
- src
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
| 560 | + | |
559 | 561 | | |
560 | 562 | | |
561 | 563 | | |
| |||
584 | 586 | | |
585 | 587 | | |
586 | 588 | | |
587 | | - | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
594 | 596 | | |
595 | 597 | | |
596 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
| 661 | + | |
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
669 | 671 | | |
670 | 672 | | |
671 | 673 | | |
| |||
0 commit comments