ld4apps/lda-siteserver — pull request #3 by mark-archer (2014-08-28 21:04:45+00:00)
Title: travis-ci configuration

I've taken the work that Sufana did and added additional configuration to make travis-ci actually stand up an instance of SiteServer and see if it responds to a single GET request.

I also created a folder "test/test_exec" and a driver.py file inside it which is the file executed by travis-ci according to our configuration. The driver.py will find any other python files in the folder with it whose names start with "test_". It then loads them as modules, and then executes any functions whose names start with "test_". It expects a boolean value returned indicating if the test succeeded or failed. It runs the tests with some generic logging and error handling. The goal of this was to make it as simple as possible for contributors to write tests without having to worry about (re)configuring travis-ci or working around existing tests.