Name: django-discover-jenkins
Owner: Jazzband
Description: A streamlined fork of django-jenkins designed to work with the default test command and the discover runner
Created: 2013-07-31 01:04:47.0
Updated: 2017-10-31 11:35:44.0
Pushed: 2016-07-21 22:40:02.0
Homepage: https://django-discover-jenkins.readthedocs.org/
Size: 91
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A streamlined fork of django-jenkins designed to work with the default test command and the discover runner.
The overall goal is to run tests on Jenkins the same way you do on your local machine. This project is designed to take advantage of https://github.com/jezdez/django-discover-runner/, which is the default test runner in Django 1.6. Instead of using a setting to list which apps should be tested, or accepting Django-specific test labels, it uses the official test discovery feature of the new unittest2.
Also, the original https://github.com/kmmbvnr/django-jenkins project doesn't take advantage of improvements to testing introduced in Django 1.4. Special management commands are no longer needed, as test runners themselves can add options that are handled by the built-in test
command.
inspect.getmembers
to connect everything, the test runner simply checks for key methods on each task the same way Django's request handler checks for methods on middleware.