Commit e91843e
committed
test(stdlib): #696 — behavioral parity tests for stdlib core utilities
Convert the stdlib-core FFI inventory entries listed in #696 into focused
behavioral parity fixtures and absorb the corresponding FFI symbols via
@Covers blocks so regen_ts_surface_inventory.py removes them from the
inventory.
New fixtures (test-files/test_parity_*.ts):
lodash, dotenv, validator, uuid, nanoid, decimal, dayjs, moment,
date_fns, lru_cache, commander, cron, async_local_storage
Existing fixtures extended with @Covers blocks:
test_parity_events.ts, test_parity_zlib.ts
Non-deterministic surfaces (uuid v4/v7, nanoid, dayjs.now, fromNow) use
shape checks; everything else uses fixed inputs and anchored timestamps
so the printed output is byte-deterministic.
After regen, test_ffi_surface_stdlib_core.ts drops from 313 → 84 unique
FFI names (all areas listed in #696 are converted). ./test-coverage/
audit.sh --markdown still reports 1790/1790 (100.0%) TS coverage.1 parent 209ba11 commit e91843e
18 files changed
Lines changed: 930 additions & 260 deletions
File tree
- test-coverage
- test-files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
192 | | - | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
242 | | - | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| |||
573 | 574 | | |
574 | 575 | | |
575 | 576 | | |
| 577 | + | |
576 | 578 | | |
577 | 579 | | |
578 | 580 | | |
| |||
613 | 615 | | |
614 | 616 | | |
615 | 617 | | |
| 618 | + | |
616 | 619 | | |
617 | 620 | | |
618 | 621 | | |
619 | 622 | | |
| 623 | + | |
620 | 624 | | |
| 625 | + | |
621 | 626 | | |
622 | 627 | | |
623 | 628 | | |
| |||
647 | 652 | | |
648 | 653 | | |
649 | 654 | | |
| 655 | + | |
650 | 656 | | |
651 | 657 | | |
652 | 658 | | |
| 659 | + | |
653 | 660 | | |
654 | 661 | | |
655 | 662 | | |
| |||
839 | 846 | | |
840 | 847 | | |
841 | 848 | | |
| 849 | + | |
842 | 850 | | |
843 | 851 | | |
844 | 852 | | |
| |||
974 | 982 | | |
975 | 983 | | |
976 | 984 | | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
977 | 993 | | |
0 commit comments