kcl-lang / kcl-go

KCL Go SDK
https://pkg.go.dev/kcl-lang.io/kcl-go@main
Apache License 2.0
52 stars 26 forks source link

feat: add testing APIs #184

Closed Peefy closed 11 months ago

Peefy commented 11 months ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

coveralls commented 11 months ago

Pull Request Test Coverage Report for Build 6976697057


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/tools/testing/reporter.go 33 45 73.33%
pkg/tools/testing/indent.go 0 22 0.0%
pkg/tools/testing/testing.go 21 54 38.89%
<!-- Total: 57 124 45.97% -->
Totals Coverage Status
Change from base Build 6976129650: -0.5%
Covered Lines: 2680
Relevant Lines: 4253

💛 - Coveralls