test: 添加对于用范型表示表头类的写法的测试用例,以及测试用的样例excel文件。#264
Merged
psxjoy merged 1 commit intoapache:mainfrom Mar 13, 2025
Merged
Conversation
psxjoy
approved these changes
Mar 13, 2025
Member
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个需求自己在封装一个给业务使用的excel处理框架的需求。业务上有至少两种数据模型需要使用excel进行导入导出的操作,同时又不想为每一个业务对应的excel表头类单独写一个listener,所以就这样想通过tdd的形式先写一下测试用例看是否可以这样做,经过测试是可以的。
另,请评估此用例对应的业务场景是否有被纳入核心代码作为一个小功能的价值,欢迎作者通过pr或另外的issue进行讨论 :) 如有,我可以着手开始实现并提交pr :)