2012-01-06 08:55:05 -06:00
|
|
|
Contributing to nose
|
|
|
|
====================
|
|
|
|
|
|
|
|
You'd like to contribute to nose? Great! Now that nose is hosted under
|
2016-03-18 19:50:07 -06:00
|
|
|
`GitHub <http://github.com/>`__, contributing is even easier.
|
2012-01-06 08:55:05 -06:00
|
|
|
|
|
|
|
Get the code!
|
|
|
|
-------------
|
|
|
|
|
2016-03-18 19:50:07 -06:00
|
|
|
Start by getting a local working copy of nose from github::
|
2012-01-06 08:55:05 -06:00
|
|
|
|
2016-03-18 19:50:07 -06:00
|
|
|
git clone https://github.com/nose-devs/nose
|
2012-01-06 08:55:05 -06:00
|
|
|
|
2016-03-18 19:50:07 -06:00
|
|
|
If you plan to submit changes back to the core repository, you should set up a
|
|
|
|
public fork of your own somewhere (`GitHub <http://github.com/>`__ is a good
|
|
|
|
place to do that). See GitHub's `help <http://help.github.com/>`__ for details
|
|
|
|
on how to contribute to a Git hosted project like nose.
|
2012-01-06 08:55:05 -06:00
|
|
|
|
2016-03-18 19:50:07 -06:00
|
|
|
Running nose's tests
|
|
|
|
--------------------
|
2012-01-06 08:55:05 -06:00
|
|
|
|
2016-03-18 19:50:07 -06:00
|
|
|
nose runs its own test suite with `tox
|
|
|
|
<http://codespeak.net/tox/>`. You don't have to install tox to run
|
|
|
|
nose's test suite, but you should, because tox makes it easy to run
|
|
|
|
all tests on all supported python versions. You'll also need python
|
|
|
|
2.4, 2.5, 2.6, 2.7, 3.1 and jython installed somewhere in your $PATH.
|
2012-01-06 08:55:05 -06:00
|
|
|
|
|
|
|
Discuss
|
|
|
|
-------
|
|
|
|
|
|
|
|
Join the `nose developer list
|
|
|
|
<http://groups.google.com/group/nose-dev>`__ at google groups. It's
|
|
|
|
low-traffic and mostly signal.
|
|
|
|
|
|
|
|
What to work on?
|
|
|
|
----------------
|
|
|
|
|
2016-03-18 19:50:07 -06:00
|
|
|
You can find a list of open issues at nose's `issue tracker
|
|
|
|
<http://github.com/nose-devs/nose/issues>`__. If you'd like to
|
2012-01-06 08:55:05 -06:00
|
|
|
work on an issue, leave a comment on the issue detailing how you plan
|
2016-03-18 19:50:07 -06:00
|
|
|
to fix it, or simply submit a pull request.
|
2012-01-06 08:55:05 -06:00
|
|
|
|
|
|
|
I have a great idea for a plugin...
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
Great! :doc:`Write it <plugins/writing>`. Release it on `pypi
|
|
|
|
<http://pypi.python.org>`__. If it gains a large following, and
|
|
|
|
becomes stable enough to work with nose's 6+ month release cycles, it
|
|
|
|
may be a good candidate for inclusion in nose's builtin plugins.
|
|
|
|
|