deb-sig/double-entry-generator

Start to add more unit tests

Open

#144 aberto em 19 de fev. de 2025

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Go (100 forks)user submission
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (697 stars)
Métricas de merge de PR
 (Mesclagem média 2d 11h) (4 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe.

截至目前为止,本项目都还没有任何的单元测试, 我们有的只是基本账单文件的 end-to-end test, 软件开发的best practice 是 unit test >> integration test >> end-to-end test, 不过我们的现在是只有 end-to-end test.

Describe the solution you'd like 从现在开始,给项目增加单元测试用例

Describe alternatives you've considered 继续使用已有的end-to-end test, 但是随着项目支持 provider 的增多, 以及需要覆盖的场景的增加, 只有 end-to-end test 会显得力不从心.

Additional context #142

Guia do colaborador