Gist for allow the execution of shTTP samples.
Executed commands for integration test:
# Setting credential
./gist_comments --cred sample \
--part -u "$1" \
--part -p "$2"
# Executing samples
./gist_comments flow_comment
# Flow as individual commands:
# ./gist_comments post_comment
# ./gist_comments get_comment
# ./gist_comments patch_comment
# ./gist_comments get_comment
# ./gist_comments delete_comment --auth-basic sample
# ./gist_comments only_def
If the integration test fails a comment like the following will be present:
Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum