|
|
|
|
|
by zalew
4829 days ago
|
|
> Django-discover-runner is basically just a smarter version of Django's default test runner. personally I use nose wrapped in django-jenkins and so far happy with it my test conf is TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
JENKINS_TEST_RUNNER = 'django_jenkins.nose_runner.CINoseTestSuiteRunner'
JENKINS_TASKS = (
'django_jenkins.tasks.run_pep8',
'django_jenkins.tasks.run_pylint',
'django_jenkins.tasks.with_coverage',
'django_jenkins.tasks.django_tests',
'django_jenkins.tasks.run_sloccount',
)
NOSE_ARGS = ['--with-fixture-bundling', ]
and run it ./manage.py jenkins --pep8-ignore=E501,W602 --pylint-rcfile=.pylint --coverage-html-report=reports/html
the pep8-ignore is because it somehow doesn't respect the .pep8fixture-bundling is a nice feature that speeds up the process |
|