This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

It’s a nosetests plugin that prints nicer dots grouped by class/module.

Install

From PyPI:

pip install nosenicedots

or from source:

pip install -e git+git://github.com/kumar303/nose-nicedots.git#egg=nosenicedots

Usage

nosetests --with-nicedots

Example

$ nosetests --with-nicedots

apps/devhub/tests/test_views.py:TestActivity
..............
apps/devhub/tests/test_views.py:TestAddVersion
.
======================================================================
FAIL: apps/devhub/tests/test_views.py:TestAddVersion.test_unique_version_num
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/path/to/apps/devhub/tests/test_views.py", line 3132, in test_unique_version_num
    assert 0
AssertionError


apps/devhub/tests/test_views.py:TestCreateFoobar
..
apps/devhub/tests/test_views.py:TestDashboard
.....
apps/devhub/tests/test_views.py:TestDelete
..
======================================================================
FAIL: apps/devhub/tests/test_views.py:TestAddVersion.test_unique_version_num
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/path/to/apps/devhub/tests/test_views.py", line 3132, in test_unique_version_num
    assert 0
AssertionError

----------------------------------------------------------------------
Ran 44 tests in 1.62s

FAILED (failures=1)

This new style of output is intended as a more useful test report and is inspired by py.test. Instead of a confusing (yet pretty) mess of dots you’ll see a printout of the module or class followed by dots that indicate each test in that group.

You’ll see the traceback for a failure immediately, which was designed for long running test suites. Note that the tracebacks are repeated again down at the bottom in case the output had scrolled off the screen already. Using --stop will not duplicate failure output.

It’s Also A Test Address

Each module or class group also doubles as an argument you can give to Nose if you want to re-run that group of tests. From the above output you could copy/paste and re-run tests in the TestActivity class like this:

$ nosetests --with-nicedots apps/devhub/tests/test_views.py:TestActivity

apps/devhub/tests/test_views.py:TestActivity
..............
----------------------------------------------------------------------
Ran 14 tests in 0.62s

OK

Caveats

  • If any other plugin needs to patch the unittest result then it will conflict with Nice Dots.
  • Python 2.5, 2.6 and 2.7 are supported at the moment. Other versions may or may not work. Python 3 is not yet supported. There are a few failing tests.
Release History

Release History

0.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nosenicedots-0.5.tar.gz (9.9 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting