Anders Ingemann
6bb654b79f
Compat with new sphinx
...
Changed a lot of code:: to code-block::
Also added sphinx_rtd_theme to deps in tox
2016-03-04 01:21:52 +01:00
Anders Ingemann
e80233bc44
Remove coverage per default from testing
...
We have no pretty way of showing this right now
meaning it's pretty much just noise.
2016-03-04 01:21:52 +01:00
Anders Ingemann
77307e3bbf
Add first integration test
...
This takes all the manifests and does a dry-run on them.
The plan is to later on enable testing of partial plugin examples as well.
2016-03-04 01:00:29 +01:00
Anders Ingemann
4c9aaf2dba
By default, tox now builds the docs
...
This makes sure nobody breaks the docs by accident
2016-03-04 00:48:48 +01:00
Anders Ingemann
f8118b3f3e
Rename integration tests to system tests, since they cover the entire system
...
*cough e82bdf4
*cough
2016-03-04 00:48:48 +01:00
Tiago Ilieve
b710986b70
tox: add 'tests/' folder to flake8
2015-10-29 21:24:25 -02:00
Anders Ingemann
f9eb11b5cb
Add html output to integration tests
...
It's near impossible to scroll through the nosetest output...
2015-04-16 22:23:14 +02:00
Tiago Ilieve
f210bfc132
Add nose-cov
dependency to tox integration tests
2015-04-16 22:22:49 +02:00
Anders Ingemann
0c20acce11
Fix positional argument handling in tox
...
It's now possible to pass a single test through tox to nosetest
2015-04-16 22:22:46 +02:00
Anders Ingemann
4be7e8966c
Add {posargs} to nosetest commands
2015-04-16 22:21:42 +02:00
Anders Ingemann
1cca37985d
Mov tox main config to top of tox file
2015-04-16 22:21:13 +02:00
Anders Ingemann
a7a3161d66
Require Pyro4 >= 4.30
2015-04-16 22:15:19 +02:00
Anders Ingemann
65b9e10ce3
VirtualBox integration
2015-04-16 22:15:19 +02:00
Anders Ingemann
0f8dbb7ac3
Install Pyro4 dep when testing
2015-04-16 22:15:19 +02:00
Anders Ingemann
86afbaf929
Clean up integration testing
2015-04-16 22:15:18 +02:00
Anders Ingemann
e271f3e49a
Initial work on integration testing started.
...
The work consists of three parts:
* Allow for bootstrapping remotely,
this makes it possible to run the tests
on e.g. OSX with VirtualBox installed
* Make bootstrapping a fully automated process
where the manifests can be generated by the tests
and the tests can call the bootstrapper directly in python
* Create a framework wherein instances can be booted up
using the bootstrapped images and subsequently tested
2015-04-16 22:15:17 +02:00
Anders Ingemann
e82bdf4a84
Rename integration tests to unit tests, since they really only cover small parts of the system.
2015-04-16 22:14:38 +02:00
Anders Ingemann
f9b234e3e6
Remove docs-serve testenv again
...
It can cause some weird errors when running two tox invocations at the same time
2015-04-11 16:40:44 +02:00
Anders Ingemann
c089301f79
Generate task graph data through sphinx conf.py
2015-04-11 16:40:44 +02:00
Anders Ingemann
73972e1b60
Move taskoverview exec into docs/
2015-04-11 16:40:44 +02:00
Anders Ingemann
d06fbb4a2d
Turn on nazi option for sphinx and fix warnings
2015-04-11 16:40:44 +02:00
Anders Ingemann
be5590f411
Add highlighting of tasks in same module in taskoverview
...
and a docs-serve tox target
2015-04-11 16:40:43 +02:00
Anders Ingemann
0276b70910
Fix taskoverview graph
2015-04-11 16:40:43 +02:00
Anders Ingemann
6f87287c31
Also build task graph when building docs
2015-04-11 16:40:43 +02:00
Anders Ingemann
d3f306a6d9
Build docs through tox
2015-04-11 16:40:43 +02:00
Rory Finnegan
128bce8fff
Added manifest checking tests.
...
Overview:
1) fixed up .gitignore file to use absolute paths (to project dir).
2) updated tox to run both manifest tests and flake8
3) updated yml file cause NULL for aws credentials causes an error on validation.
4) actually added the tests under tests/integration
2014-04-30 17:21:32 -05:00
Tiago Ilieve
014e230221
Add Travis CI
...
By now, it will only test the coding style rules defined for the
project, which are basically a few exceptions to the PEP8.
2014-04-27 10:12:04 -03:00
Rory Finnegan
708c3d589e
Fixed previous yaml load commit and added a tox.ini file.
...
DETAILS:
- Apparently a potential security issue with yaml.load vs yaml.safe_load.
Like pickling, yaml.load could result in arbitrary code being run.
- tox.ini file includes the flake8 settings for this project, build spec for 2.7
and line for eventually testing the project.
2014-04-15 20:29:01 -05:00