All Projects → exogen → Nose Achievements

exogen / Nose Achievements

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

Programming Languages

python
139335 projects - #7 most used programming language

Unit Testing Achievements

Maintainers Wanted

trophy

  • 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

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.

More Ideas

Please share your achievement ideas on the wiki!

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].