TheJumpCloud / jcapi-powershell

MIT License
10 stars 3 forks source link

Sa 2314 sdk tests for new endpoints #41

Closed jworkmanjc closed 2 years ago

jworkmanjc commented 2 years ago

Issues

What does this solve?

Several tests within the SDK modules had missing or unwritten tests. This PR addresses most of the missing SDKs to cover at least one test per function. Tests that require additional resources like systems or MDM bound systems are still omitted from this test suite

The CI-Nightly task has been updated to only build & test the SDK modules, not write back to the main branch.

Is there anything particularly tricky?

N/A

How should this be tested?

Screenshots

In order to visually see what tests were missing or partially unwritten (skipped) I included a quick script to print the tests in each SDK, the number of tests vs number of skipped tests and a visual cue to display test coverage. This is written to the console when running Test-Module.ps1. ex. Screen Shot 2022-02-16 at 9 32 02 AM