Closed hectcastro closed 8 years ago
The README still has a link to the now deleted examples
directory.
molecule test
worked for me
$ molecule test
... provisioning ...
PLAY RECAP *********************************************************************
ansible-java : ok=8 changed=3 unreachable=0 failed=0
Idempotence test in progress (can take a few minutes)...
Idempotence test passed.
Executing testinfra tests found in tests/.
============================= test session starts ==============================
platform darwin -- Python 2.7.9, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /Users/jwalgran/Projects/ansible-java/tests, inifile:
plugins: testinfra-1.1.1
collected 1 items
tests/test_java.py .
=========================== 1 passed in 0.30 seconds ===========================
No serverspec tests found in spec/.
==> ansible-java: Forcing shutdown of VM...
==> ansible-java: Destroying VM and associated drives...
:+1:
Replaced by https://github.com/azavea/ansible-java/pull/18.
Instead of maintaining a custom Vagrant test setup, use the Molecule tool. Molecule helps keep the testing process uniform by providing support for Ansible, Vagrant, and Testinfra all in one tool.
See also: http://molecule.readthedocs.org/