Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeblackwaslike/testdocker
Unit Testing for docker containers
https://github.com/joeblackwaslike/testdocker
Last synced: about 2 months ago
JSON representation
Unit Testing for docker containers
- Host: GitHub
- URL: https://github.com/joeblackwaslike/testdocker
- Owner: joeblackwaslike
- License: other
- Created: 2017-02-02T14:24:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T10:11:31.000Z (over 7 years ago)
- Last Synced: 2024-10-14T02:49:01.261Z (3 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
testdocker
~~~~~~~~~~Maintainer: Joe Black
Repository: https://www.github.com/joeblackwaslike/testdocker
Description
-----------Unit Testing for docker containers.
Local Usage:
------* 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`.Docker Usage:
------* To create the `tests` directory, run the following from the root of your
project folder:
.. code-block:: bashdocker 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`.