An open API service indexing awesome lists of open source software.

https://github.com/exogen/nose-achievements

[UNMAINTAINED] Unlock achievements when running tests with nose, unittest, or Django!
https://github.com/exogen/nose-achievements

Last synced: 8 months ago
JSON representation

[UNMAINTAINED] Unlock achievements when running tests with nose, unittest, or Django!

Awesome Lists containing this project

README

          

Unit Testing Achievements
========================
![Maintainers Wanted](https://img.shields.io/badge/maintainers-wanted-red.svg)

![trophy](http://exogen.github.com/nose-achievements/images/trophy.png)

* Unlock achievements for running your test suite!
* Works with nose, unittest, and Django
* Tested with Python 2.6 and 3.1
* Entry points for discovering more achievements

__[See the list of achievements on the homepage][home]__

Installation
------------
From the source repository:

$ pip install git+git://github.com/exogen/nose-achievements.git

See [INSTALL][] for more options.

Usage
-----
### nose
Run like so:

$ nosetests --with-achievements

Or enable it in `setup.cfg`:

[nosetests]
with-achievements=1

### unittest
Use the included test runner:

from noseachievements.runner import AchievementsTestRunner

unittest.main(testRunner=AchievementsTestRunner)

### Django 1.2+
Define `TEST_RUNNER` in `settings.py`:

TEST_RUNNER = 'noseachievements.djangotest.AchievementsDjangoTestSuiteRunner'

Achievements
------------
See the list of achievements on [the homepage][home].

More Ideas
----------
Please share your achievement ideas on the [wiki][]!

[INSTALL]: http://github.com/exogen/nose-achievements/blob/master/INSTALL
[home]: http://exogen.github.com/nose-achievements/
[wiki]: http://wiki.github.com/exogen/nose-achievements/
[www]: http://brianbeck.com/