Oooh, shiny! Just one more …

The lure of Jenkins was too much to resist …

So now I have a toy REST application, made by copying a tutorial and making a few modifications, and a few tests for it – a couple that are simple pytest, and a few more that are Tavern tests for the REST API. The tests are just barely more than the equivalent of “hello world”, but they and their app are in GitHub. I can execute them by running py.test from the command line, or by invoking py.test on the test directory from Pycharm. I can execute them by launching my AWS instance, pulling the whole package from GitHub, and running the application and tests there. Or – I can tell Jenkins to scan my repository, and it will pull the latest code, run the application, and then run my tests.

Enough infrastructure. Must practice writing tests with Python.