Skip to content

Instantly share code, notes, and snippets.

@cdent
Last active May 2, 2016 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdent/d70015ac6fffbbd3cd80a771e197bf36 to your computer and use it in GitHub Desktop.
Save cdent/d70015ac6fffbbd3cd80a771e197bf36 to your computer and use it in GitHub Desktop.
#!/bin/sh -xe
# A quick and dirty automatic demo of a small subset of gabbi features.
# Put this in /tmp or somewhere like it. Make sure you have git,
# tmux and virtualenv installed.
# !! NOTE: You must _not_ be in an already running tmux session.
# Make your window big or your font size small. Then `sh dogab.sh`.
# Left side of the screen is the test and results of running it.
# Right side of the screen is a verbose representation of the HTTP
# requests that are happening.
# Hitting space will advance the tests.
# When you get to the end you'll need to ctrl-c to get out.
virtualenv gabbitest
cd gabbitest
source bin/activate
git clone https://github.com/cdent/gabbi-demo.git
git clone https://github.com/cdent/grunner.git
pip install -r gabbi-demo/requirements.txt pygments
cd grunner
./startgrunner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment