From 3a0d4c18bf0aa28b2ab52fd96c2214a415c0591a Mon Sep 17 00:00:00 2001 From: Hunter Loftis <hunter@hunterloftis.com> Date: Thu, 15 Nov 2018 11:57:44 -0500 Subject: [PATCH] add heroku-18 to test targets and document running tests --- Makefile | 2 +- README.md | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d6ac4c3..43c2bbf8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # These targets are not files .PHONY: tests -test: test-heroku-16 +test: test-heroku-18 test-heroku-16 check: @shellcheck -x bin/compile bin/detect bin/release bin/test-compile bin/utils bin/warnings diff --git a/README.md b/README.md index a4a5bf96..f5b56e73 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,25 @@ Runtime options include: - `python-3.7.0` - `python-3.6.6` - `python-2.7.15` + +## Tests + +The buildpack tests use [Docker](https://www.docker.com/) to simulate +Heroku's [stack images.](https://devcenter.heroku.com/articles/stack) + +To run the test suite: + +``` +make test +``` + +Or to test in a particular stack: + +``` +make test-heroku-18 +make test-heroku-16 +``` + +The tests are run via the vendored +[shunit2](https://github.com/kward/shunit2) +test framework. \ No newline at end of file -- GitLab