Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I run the tests? #7

Closed
klebba opened this issue Dec 31, 2017 · 3 comments
Closed

How do I run the tests? #7

klebba opened this issue Dec 31, 2017 · 3 comments

Comments

@klebba
Copy link

klebba commented Dec 31, 2017

It's not clear to me how to run the test case

@dmathieu
Copy link

dmathieu commented Jan 2, 2018

What test case are you talking about?
This repository is used in this article to walk through our docker registry.

@klebba
Copy link
Author

klebba commented Jan 2, 2018

Yep -- I read the article. There's a note that reads For testing purposes, we suggest that your Dockerfile or code read from the $PORT environment variable [...]

This repository contains:
https://github.com/heroku/alpinehelloworld/blob/master/webapp/tests.py

Would appreciate more info about how to run the tests. Thanks!

@dmathieu
Copy link

dmathieu commented Jan 3, 2018

I believe this unit test has been auto-generated.
The for testing purposes here means manual testing locally.
It's not unit tests, but because locally, you could use the EXPOSE argument, which our platform doesn't support.

@dmathieu dmathieu closed this as completed Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants