InfuseAI / piperider

Code review for data in dbt
https://www.piperider.io/
Apache License 2.0
480 stars 23 forks source link

[Chore] refactor test-cli.py to test init, diagnose and run commands #837

Closed kentwelcome closed 1 year ago

kentwelcome commented 1 year ago

PR checklist

What type of PR is this? Unit Test

What this PR does / why we need it:

Which issue(s) this PR fixes: N/A

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

codecov[bot] commented 1 year ago

Codecov Report

Merging #837 (6893c4a) into main (dc17836) will increase coverage by 10.77%. The diff coverage is 37.50%.

@@             Coverage Diff             @@
##             main     #837       +/-   ##
===========================================
+ Coverage   34.56%   45.34%   +10.77%     
===========================================
  Files          68       68               
  Lines        9761     9766        +5     
===========================================
+ Hits         3374     4428     +1054     
+ Misses       6387     5338     -1049     
Files Changed Coverage Δ
piperider_cli/datasource/duckdb.py 27.86% <16.66%> (+1.46%) :arrow_up:
piperider_cli/dbtutil.py 69.10% <100.00%> (+9.10%) :arrow_up:

... and 18 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more