Skip to content
Snippets Groups Projects
Unverified Commit b85fe361 authored by Casey's avatar Casey Committed by GitHub
Browse files

Merge pull request #783 from heroku/document-tests

Document tests
parents 41e0f642 b024e644
No related branches found
No related tags found
No related merge requests found
# These targets are not files # These targets are not files
.PHONY: tests .PHONY: tests
test: test-heroku-16 test: test-heroku-18 test-heroku-16
check: check:
@shellcheck -x bin/compile bin/detect bin/release bin/test-compile bin/utils bin/warnings @shellcheck -x bin/compile bin/detect bin/release bin/test-compile bin/utils bin/warnings
......
...@@ -61,3 +61,25 @@ Runtime options include: ...@@ -61,3 +61,25 @@ Runtime options include:
- `python-3.7.0` - `python-3.7.0`
- `python-3.6.6` - `python-3.6.6`
- `python-2.7.15` - `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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment