open-rpc/test-coverage

Tool should return non-zero exit code if any tests were failed

Closed this issue ยท 1 comments

Currently open-rpc-test-coverage returns zero even if tests were failed, which makes it hard to use it in automated environments

How to reproduce

Grab any example of schema and server with some failing test

open-rpc-test-coverage -s ./openrpc.json --transport=http --reporter=console
if [[ $? -eq 0 ]]; then echo "Should be non-zero"; fi

๐ŸŽ‰ This issue has been resolved in version 1.0.7 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€