aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2016-03-11tests: Run pep8 tests as part of the tox runDamien Lespiau
Now that the project doesn't have any pep8 warning/error left, we can start enforcing PEP8 for new commits. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2016-03-04tests: Use Firefox for karma testsDamien Lespiau
On travis, we're going to use Firefox, so default to that for karma tests as well. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2016-03-04tests: Add a script to run all the testsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2016-01-14js: Factor our a setup_autocompletion() functionDamien Lespiau
We'll use it for series filtering in addition to patch filtering! Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2016-01-11js: Split the series list page JS in a separate fileDamien Lespiau
I'll add more logic to this file, time to split the JS into its own file. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-12-10pep8: Make git-pw pass flake8Damien Lespiau
I silenced yet another warning because I really want to be able to write: 'need_git_repo': True, 'need_project' : False, 'need_auth' : False, and flake8 was complaining about the number of spaces around ':' Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-12-05tests: Include xmlrpc.py into the pep8 testsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-12-05pep8: Make test_rest.py pass the pep8 testDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-12-05tests: Add a test to make sure we don't regress pep8 compliant filesDamien Lespiau
While we transition to a pep8 compliant code base, we need to make sure we don't regress the files that now pass the pep8 test. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-11-04tests: Provide a single script to invoke all JS testsDamien Lespiau
This way, we can maintain our tests in the git repo, while just needing a single entry point for the CI system(s). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-11-04tests: Move jshint invocation to a shell scriptDamien Lespiau
We don't need anything python, like a full virtualenv, to run the front end tests, so just move the jshint invocation to a shell script. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-11-04tests: Introduce unit tests for the javascript side of thingsDamien Lespiau
Patchwork frontend needs a lot of work and, beside the seleniums tests that are end-to-end, integration tests, there's room for proper JS unit tests. I've done that with karma + jasmine, it's fairly straightfoward and actually quite nice to use. I'm a big fan of karma's "rerun the tests on save" feature that made the development of patch_strip_series_markers() much more fun. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>