deb-sig / deb-sig/double-entry-generator

Start to add more unit tests

Open
#144 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
Go
Stars
719
Forks
102
PR merge metrics
No merged PRs in 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.

![](https://martinfowler.com/articles/practical-test-pyramid/testPyramid.png)

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

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

**Additional context**
#142

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.