Maintainer: Joe Black <[email protected]>
Repository: https://www.github.com/joeblackwaslike/testdocker
Unit Testing for docker containers.
- To create the tests directory, run the following form the root of your project folder: testdocker init
- Modify class attributes in tests/tests.py according to the directions in the docstrings.
- Add any additional tests as methods of the classes in the same style as :class:`unittest.TestCase`.
- Run tests with tests/run local.
- To create the tests directory, run the following from the root of your project folder:
docker run -it --rm \
-v $(pwd):/repos/app \
callforamerica/testdocker \
testdocker init
- Modify class attributes in tests/tests.py according to the directions in the docstrings.
- Add any additional tests as methods of the classes in the same style as :class:`unittest.TestCase`.
- Run tests with tests/run.