sassoftware / python-sasctl

Python package and CLI for user-friendly integration with SAS Viya
https://sassoftware.github.io/python-sasctl
Apache License 2.0
45 stars 40 forks source link

enhancements to testing framework #142

Closed jlwalke2 closed 1 year ago

jlwalke2 commented 1 year ago

Added support for recording test cases against multiple Viya versions. Re-recorded all test cases using latest SWAT package against Viya 3.5 and Viya 4 (2022.09). Replaced core.platform_version() with Session.version_info() Assorted bug fixes and minor changes.

codecov[bot] commented 1 year ago

Codecov Report

Merging #142 (b41047e) into master (4b05179) will increase coverage by 0.81%. The diff coverage is 70.86%.

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
+ Coverage   64.41%   65.22%   +0.81%     
==========================================
  Files          53       53              
  Lines        4465     4569     +104     
==========================================
+ Hits         2876     2980     +104     
  Misses       1589     1589              
Flag Coverage Δ
integration 58.78% <62.99%> (+0.84%) :arrow_up:
unit 43.90% <40.00%> (+0.07%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/sasctl/_services/service.py 93.03% <50.00%> (+0.08%) :arrow_up:
src/sasctl/pzmm/importModel.py 11.76% <50.00%> (ø)
src/sasctl/pzmm/writeScoreCode.py 5.07% <50.00%> (ø)
src/sasctl/core.py 77.77% <62.33%> (-1.79%) :arrow_down:
src/sasctl/_services/model_repository.py 62.85% <70.58%> (+3.54%) :arrow_up:
src/sasctl/_services/sentiment_analysis.py 95.65% <100.00%> (+0.41%) :arrow_up:
src/sasctl/_services/text_categorization.py 36.36% <100.00%> (+6.36%) :arrow_up:
src/sasctl/_services/text_parsing.py 95.65% <100.00%> (+0.41%) :arrow_up:
src/sasctl/tasks.py 71.29% <100.00%> (+1.45%) :arrow_up:
src/sasctl/utils/cli.py 95.13% <100.00%> (ø)
... and 7 more

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