web app and client to collect individual test results from CI and display results over time / filtered by tags
vagrant up
to establish a development server. Production installation instructions
are not available at this time.
- VAGRANT_HOSTNAME (wrt-server)
- VAGRANT_IP (192.168.8.80)
- VAGRANT_BOX (trusty)
- VAGRANT_BOX_URL (https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box)
figure out how to provision
- consider using https://github.com/poise/application_python instead of https://github.com/maigfrga/django-vagrant-chef
- ldap auth
- handle database storage of attachments
- python manage.py migrate
- python manage.py createsuperuser
- python manage.py runserver 0.0.0.0:8000
- make Model (database) changes
- python manage.py makemigrations wrt && python manage.py migrate
unittest2 compliant library for writing and running tests. Boasts TestProgram, TestSuite, TestLoader, TestRunner, and TestResult based classes which are configurable via command-line flags. WellRestedTestResult and AutoDiscoveringTestLoader, when passed the appropriate flags, will communicate with the well-rested-tests-server.
cd well_rested_unittest pip install [--force-reinstall] .
Note: Due to dependencies which use pbr, installing via 'python setup.py install' is not recommended. Note: If blessings is installed, the --color option for the results will work.
- wrtest - does not speak to well-rested-tests-server
- wrt - speaks to the well-rested-tests-server. A configuration file describing how to contact the well-rested-tests-server is expected. Copy .wrt.conf.template to .wrt.conf and modify to match your server / project.
- --help may be specified for any of the above, for greater detail.
wrt tests
orotest tests
is expected to pass- the
sample_tests
directory contains a collections of tests that are designed to exercise various not-all-passing scenarios, and are called by various tests in thetests
directory. - manual_test_plan.rst defines a list of tests regarding output display that are better performed by hand
- Note: If you're going to run
tests
in parallel, set --concurrency auto so that the tests of parallelism are tested one-at-a-time.
- require a vagrant-swift-all-in-one running vagrant up && vagrant ssh; swift-init restart main