Commit 71c7d69
committed
test: add testkit infrastructure and refactor unit tests with JUnit 5 parameterized patterns
Implements Phase 1-2 of the test modernization proposal from issue #717:
- Add testkit/ package with AbstractExcelTest, ExcelFormat enum,
CollectingReadListener, and ExcelAssertions for shared test infrastructure
- Migrate converter and other legacy test packages to parameterized JUnit 5 tests
- Remove listener classes with embedded assertions (SRP violation)
- Consolidate scattered model classes into organized packages (core/, format/,
readwrite/, sheet/, style/)
- Apply parameterized test pattern to cover XLSX/XLS/CSV in single methods
- Update DateUtils to support test infrastructure
Closes #7171 parent 3986b8b commit 71c7d69
163 files changed
Lines changed: 5901 additions & 6960 deletions
File tree
- fesod-sheet/src
- main/java/org/apache/fesod/sheet/util
- test
- java/org/apache/fesod/sheet
- annotation
- bom
- cache
- celldata
- charset
- converter
- core
- dataformat
- encrypt
- exception
- excludeorinclude
- extra
- fill
- style
- format
- handler
- head
- multiplesheets
- nomodel
- noncamel
- parameter
- readwrite
- repetition
- sheet
- simple
- skip
- sort
- style
- template
- testkit
- assertions
- base
- builders
- enums
- helpers
- listeners
- models
- util
- writesheet
- resources
- bom
- csv
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | | - | |
554 | | - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 0 additions & 157 deletions
This file was deleted.
Lines changed: 0 additions & 59 deletions
This file was deleted.
0 commit comments