Add Test Cases & Execute via Docker
JasonGiedymin opened this issue · 7 comments
JasonGiedymin commented
Use my other repo: ansible-nodejs as inspiration.
- Add
/tests/
withintegration-tests.yml
file which describes a (perhaps a simple) test to verify the application is running. - Add
inventory.yml
, andplaybook.yml
which is used to install this role in a dockerfile. - Add
Dockerfile
referencing AnsibleShipyard/base-ubuntu-java - Add
build.sh
which is a friendly command to build the dockerfile.
JasonGiedymin commented
Depends on AnsibleShipyard/ansible-java#1
JasonGiedymin commented
Reaching out to @antonlindstrom.
antonlindstrom commented
Thanks, I'll see if I can take a stab at it.
JasonGiedymin commented
I have a complete tool that will run this. It only expects that tests/main.yml
exist so that it can be run with the tool.
kpx-dev commented
@JasonGiedymin I added basic test case via this commit:
3836eee
JasonGiedymin commented
Thanks, the tool should be open sourced any day now to effectively run these tests.
-Jason
On Sep 4, 2014, at 2:55 AM, Kien Pham notifications@github.com wrote:
@JasonGiedymin I added basic test case via this commit:
3836eee—
Reply to this email directly or view it on GitHub.
JasonGiedymin commented
Closing this. Will get back to it in another milestone.