All Projects → kmmbvnr → Django Jenkins

kmmbvnr / Django Jenkins

Licence: lgpl-3.0
Plug and play continuous integration with django and jenkins

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Django Jenkins

eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (-95.61%)
Mutual labels:  unit-testing, test
emacs-python-pytest
run pytest inside emacs
Stars: ✭ 105 (-88.75%)
Mutual labels:  unit-testing, test
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 3,019 (+223.58%)
Mutual labels:  unit-testing, test
Tablier
A micro-framework for Table Driven Tests.
Stars: ✭ 33 (-96.46%)
Mutual labels:  unit-testing, test
teuton
Infrastructure test, mainly useful for sysadmin teachers and making contests
Stars: ✭ 22 (-97.64%)
Mutual labels:  unit-testing, test
pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
Stars: ✭ 9,731 (+942.98%)
Mutual labels:  unit-testing, test
logunit
A Java library for unit-testing logging.
Stars: ✭ 40 (-95.71%)
Mutual labels:  unit-testing, test
Jenkinspipelineunit
Framework for unit testing Jenkins pipelines
Stars: ✭ 1,110 (+18.97%)
Mutual labels:  jenkins, test
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (-97.86%)
Mutual labels:  unit-testing, test
got
An enjoyable golang test framework.
Stars: ✭ 234 (-74.92%)
Mutual labels:  unit-testing, test
testza
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
Stars: ✭ 409 (-56.16%)
Mutual labels:  unit-testing, test
Luaunit
LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).
Stars: ✭ 362 (-61.2%)
Mutual labels:  jenkins, unit-testing
Docker Jenkins Django Tutorial
實戰 Docker + Jenkins + Django + Postgres 📝
Stars: ✭ 129 (-86.17%)
Mutual labels:  django, jenkins
Caraya
Assertion and unit test framework for LabVIEW
Stars: ✭ 45 (-95.18%)
Mutual labels:  unit-testing, test
Cize
🔌 Continuous integration with the simplest solution
Stars: ✭ 100 (-89.28%)
Mutual labels:  jenkins, test
tead
Lighting the way to simpler testing
Stars: ✭ 55 (-94.11%)
Mutual labels:  unit-testing, test
Androidunittest
Save time & clear your unit tests on Android !
Stars: ✭ 205 (-78.03%)
Mutual labels:  test, unit-testing
Alsatian
TypeScript testing framework with test cases
Stars: ✭ 244 (-73.85%)
Mutual labels:  test, unit-testing
unittest expander
A library that provides flexible and easy-to-use tools to parameterize Python unit tests, especially those based on unittest.TestCase.
Stars: ✭ 12 (-98.71%)
Mutual labels:  unit-testing, test
Goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 2,943 (+215.43%)
Mutual labels:  test, unit-testing

django-jenkins

Plug and play continuous integration with Django and Jenkins

.. image:: https://img.shields.io/pypi/v/django-jenkins.svg :target: https://pypi.python.org/pypi/django-jenkins

.. image:: https://requires.io/github/kmmbvnr/django-jenkins/requirements.png?branch=master :target: https://requires.io/github/kmmbvnr/django-jenkins/requirements/?branch=master

.. image:: https://badges.gitter.im/Join%20Chat.svg :target: https://gitter.im/kmmbvnr/django-jenkins?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Installation

From PyPI::

$ pip install django-jenkins

Or by downloading the source and running::

$ python setup.py install

Latest git version::

$ pip install -e git+git://github.com/kmmbvnr/django-jenkins.git#egg=django-jenkins
$ pip install coverage

Installation for Python 3::

Works out of the box

Usage

Add 'django_jenkins' to your INSTALLED_APPS list. Configure Jenkins to run the following command::

$ ./manage.py jenkins --enable-coverage

This will create reports/ directory with junit xml, Coverage and Pylint reports.

For more details see the generic tutorial: https://sites.google.com/site/kmmbvnr/home/django-jenkins-tutorial

Settings

  • PROJECT_APPS

    If present, it is supposed to be a list/tuple of django apps for Jenkins to run. Tests, reports, and coverage are generated only for the apps from this list.

  • JENKINS_TASKS

    List of Jenkins reporters executed by ./manage.py jenkins command.

    Default value::

    JENKINS_TASKS = ()

  • JENKINS_TEST_RUNNER

    The name of the class to use for starting the test suite for jenkins command. Class should be inherited from django_jenkins.runner.CITestSuiteRunner

Reporters

Here is the reporters prebuild with django-jenkins

  • django_jenkins.tasks.run_pylint

    Runs Pylint_ over selected Django apps.

    Task-specific settings: PYLINT_RCFILE

.. _Pylint: http://www.logilab.org/project/pylint

  • django_jenkins.tasks.run_pep8

    Runs pep8 tool over selected Django apps. Creates Pylint compatible report for Jenkins

    You should have pep8_ python package (>=1.3) installed to run this task.

    Task-specific settings: PEP8_RCFILE

.. _pep8: http://pypi.python.org/pypi/pep8

  • django_jenkins.tasks.run_pyflakes

    Runs Pyflakes tool over selected Django apps. Creates Pylint compatible report for Jenkins.

    You should have Pyflakes_ python package installed to run this task.

.. _Pyflakes: http://pypi.python.org/pypi/pyflakes

  • django_jenkins.tasks.run_flake8

    Runs flake8 tool over selected Django apps. Creates pep8 compatible report for Jenkins.

    You should have flake8_ python package installed to run this task.

.. _flake8: http://pypi.python.org/pypi/flake8

Changelog

GIT Version


* csslint/jshint/sccsLint/sloccount task removed (could be used as standalone tools)


Contribution guide
  • Set up local jenkins

  • Set up django-jenkins::

    npm install jshint npm install csslint PATH=$PATH:$WORKSPACE/node_modules/.bin tox

  • Ensure that everything works

  • Modify the the only one thing

  • Ensure that everything works again

  • Fix pep8/pyflakes errors and minimize pylint's warnings

  • Pull request!

Authors

Created and maintained by Mikhail Podgurskiy [email protected]

Contributors: https://github.com/kmmbvnr/django-jenkins/graphs/contributors

Special thanks, for all github forks authors for project extensions ideas and problem identifications.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].