Skip to content

Commit

Permalink
basic test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Mar 23, 2012
1 parent 3e1d657 commit b16261c
Show file tree
Hide file tree
Showing 4 changed files with 1,284 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
@@ -1,3 +1,6 @@
tests:
./bin/test

docs:
mkdir -p site
shocco -t 'Python Buildpack Compiler' ./bin/compile > site/index.html
Expand Down
29 changes: 29 additions & 0 deletions bin/test
@@ -0,0 +1,29 @@
#!/usr/bin/env bash

#
# Create a Heroku app with the following buildpack:
# https://github.com/ddollar/buildpack-tet

This comment has been minimized.

Copy link
@paxan

paxan Aug 28, 2013

Typo. Should be: https://github.com/ddollar/buildpack-test

#
# Push this Python buildpack to that Heroku app to
# run the tests.
#


## utils ########################################

pushd $(dirname 0) >/dev/null
BASE=$(pwd)
popd >/dev/null

source ${BASE}/vendor/test-utils

detect() {
capture ${BASE}/bin/detect ${BASE}/test/$1
}

compile() {
capture ${BASE}/bin/compile ${BASE}/test/$1
}

source ${BASE}/vendor/shunit2

0 comments on commit b16261c

Please sign in to comment.