Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write unit tests for Invoke PSSA (#1450)
* intentionally cause an error * add try catch block * add errorvariable and check count * try the CI flag * add erroraction stop * set ErrorActionPreference * write the error message * rethrow the err * remove ErrorActionPreference * remove try catch * use exit 1 * add write * print result * print just result * get type * check result for null * fix typo * fix lint * should work * put result outside of try catch * only try invoke pester * use configuration * send to stream * write the result * try passthru * try passthru wo config * fix lint * try for failure with bad dir * clean up code * i hate yaml lint * set correct dir * use function * fix path * test w bad dir * update powershell unit tests to use function * fix linter * move test files * debug path * find name of files * ignore dummy file * more different remove * remove file from collection * find files * source functions * test pssa install * add params to invoke call * add results test * add write test * fix pssa error (oh the irony) * Remove afterall * comment * all comms * remove alt test * test output * fix order * Fix typo * try write-host * sssh to PSSA * add before discovery * fixed scope * Split describe * fix lint * fix typo * fix another typo grrrrr * try redirect * remove write host * fix the test to be a complete sentence * Fix or * FIx or * fix or * Find last output * Condense to one it * set output to global * Suppress PSSA global * Split back into 2 describes * test concurrency * remove publish tests * remove pssa * put publish back * combine pssa check * fix lint * add missing variable * remove tests * fix lint * debug * debug * fix lint * use write-warning * debug paths * fix lint * Debug * fix scriptpath * convert to string * fix lint * invoke again * fix path * test invoke in bd * test output * suppress PSSA * tweak global * just check install * fix typo in invoke * Change to Before All * just run invoke pssa * just run pssa * tweak test * fix source * remvoe suppress * remove before discovery * list path * just invoke * don't invoke * fix source * add suppress * debug * add foreach * summarize * check exists * drop param * change to warning * change more to warning * add debug mode * finish warning * remove exit 0 * test install * use output * use 3 * check write warning * use warning variable * write out the warnings * fix the test * split tests * change location * fix warning variable name * time serial * make serial for real * Put in final form * Put workflow pipeline back * tweak docs * fix merge stuff * del files * del files on wrong branch * fix unit test * fix lint * Restore powershell tests * fxi lint * Remove old code, add comments * Use synopsis in docs * remove debugging line
- Loading branch information