Sha256: e6cb2efaaa4c76cafea97795acbfb8336450fa2554dd884ae093f92f19c30cf4

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

#!/bin/bash
set -e

# This is an example script that sets up the remote server information
# needed to run the full suite of tests.  Actual values have been
# replaced with nonsense.
#
# If none of these are set, only offline tests will be run.
#
# Put your test command on the command line to invoke it; otherwise,
# it will run `rake test`.


#
# Set these to enable basic read tests:
#

# The host
#export SHEP_TEST_HOST="mastodon.anti.social"

# The public account we read stuff from:
#export SHEP_READ_ACCOUNT_HANDLE="@somerandombot"
#export SHEP_READ_ACCOUNT=69420


#
# Set these if you also have an account that you wish to use for
# testing.  This will only read from the account (we hope), but it's
# probably not a good idea to use an account you care about.
#

#export SHEP_ACCOUNT=54321
#export SHEP_TOKEN=JDJidvpsdvjapojSDFvfvafWER3qrwDVe4


#
# Set this if you want the tests to also write to the account.  If
# they run successfully, they should have deleted every status they
# create and no others.
#
# Note that deletions and media uploads (both things these tests do)
# are heavily rate-limited so we turn this test off by default.
#

#export SHEP_TEST_ALL=1

cd $(dirname "$0")/shep

if [ -z "$1" ]; then
    rake test
else
    eval "$@"
fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shep-0.2.2 run_rake_test.example.sh
shep-0.2.1.pre.alpha0 run_rake_test.example.sh
shep-0.2.0.pre.alpha0 run_rake_test.example.sh