Closed charlesreid1 closed 5 years ago
Update: testing is happening concurrently with conversion of Uncle Archie into a python package.
basic tests are finished.
dcppc tests are not done for all dcppc tasks, but not all dcppc tasks are implemented in the library yet.
Once we have Uncle Archie bundled as a python package (#27), we can move on to writing tests.
Tests will consist of a flask webapp and a utility to send webhook payloads.
To run manually, you would run in two windows.
To run in a sensible automated manner,
use docker-compose and define a pod with two containers (one with all of Uncle Archie's requirements installed, one just lightweight python). One container will bind mount the current directory and run setup.py build install. The other will bind mount the current directory and run python requests or something.Flask provides a way to run unit tests - the flask app can provide the user with a test client, which can be used to interact with the webapp from a single script (no two-window or concurrent threads business is necessary).
This will be closed by #29