Commit 340a062
committed
test: add comprehensive test suite for adrs-core
- Add 67 unit tests for types module with test_case and proptest
- Add 32 unit tests for config module (load, save, roundtrip)
- Add 69 unit tests for parsing (legacy and frontmatter formats)
- Add 40 unit tests for template rendering (Nygard, MADR, custom)
- Add 40 unit tests for repository operations
- Add 15 adr-tools compatibility tests
- Add proptest property-based tests for slug and filename generation
- Fix unicode handling in slug function (use is_ascii_alphanumeric)
- Add support for adr-tools typo 'superceded' in status/link parsing
- Total: 244 tests passing1 parent b82b19d commit 340a062
File tree
10 files changed
+2787
-51
lines changed- crates/adrs-core
- proptest-regressions
- src
- tests
10 files changed
+2787
-51
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments