prompt/Assert Actual Is Expected

Write tests in GitHub Workflows for integration tests and build pipelines

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
assertionName of the assertion to run against valueyes
expectedValue the assertion is looking forno
actualDynamic value to test againstno
typeJavascript data type that actual and expected will be cast toyesstring
eachParse multi-line `actual` into many values and assert against eachnofalse
local-pathPath to assertions on the runner's filesystemyes${{ github.workspace }}
error-on-failReport error in step when assertion failsyestrue
error-messageError message to output when assertion failsno
convert-empty-to-nullConvert empty input values to nullyestrue
namedescription
messageHuman readable result of the assertion
passBoolean describing whether the assertion passed
passedBoolean describing whether the assertion passed
failedBoolean describing whether the assertion failed
errorError message (if any) that has been output to the log