Skip to content

Commit 3a0d4c1

Browse files
committed
add heroku-18 to test targets and document running tests
1 parent 0437a6e commit 3a0d4c1

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# These targets are not files
22
.PHONY: tests
33

4-
test: test-heroku-16
4+
test: test-heroku-18 test-heroku-16
55

66
check:
77
@shellcheck -x bin/compile bin/detect bin/release bin/test-compile bin/utils bin/warnings

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,25 @@ Runtime options include:
6161
- `python-3.7.0`
6262
- `python-3.6.6`
6363
- `python-2.7.15`
64+
65+
## Tests
66+
67+
The buildpack tests use [Docker](https://www.docker.com/) to simulate
68+
Heroku's [stack images.](https://devcenter.heroku.com/articles/stack)
69+
70+
To run the test suite:
71+
72+
```
73+
make test
74+
```
75+
76+
Or to test in a particular stack:
77+
78+
```
79+
make test-heroku-18
80+
make test-heroku-16
81+
```
82+
83+
The tests are run via the vendored
84+
[shunit2](https://github.com/kward/shunit2)
85+
test framework.

0 commit comments

Comments
 (0)