pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
295 stars 92 forks source link

Update Tests #254

Closed pspete closed 4 years ago

pspete commented 4 years ago

Summary

Update tests to be able to be run in both PWSH & PowerShell. Where test can only be run in PWSH, introduces logic to skip test case when run in PowerShell. Appveyor will execute module tests in both PWSH & PowerShell.

codecov-io commented 4 years ago

Codecov Report

Merging #254 into dev will increase coverage by 0.43%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##              dev      #254      +/-   ##
===========================================
+ Coverage   99.56%   100.00%   +0.43%     
===========================================
  Files         119       119              
  Lines        1391      1391              
===========================================
+ Hits         1385      1391       +6     
+ Misses          6         0       -6     
Impacted Files Coverage Δ
psPAS/Private/Test-IsCoreCLR.ps1 100.00% <0.00%> (+33.33%) :arrow_up:
psPAS/Private/Skip-CertificateCheck.ps1 100.00% <0.00%> (+41.66%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8bb7775...95a095c. Read the comment docs.