Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Logging nose plugin to create log per test

Project description

This plugin creates a log file per test run by nose, holding the logs of that specific test

The project is available on GitHub


You can install nose-logpertest plugin using pip:

$ pip install nose-logpertest


Given the following tests:

class TestA():

    def test1(self):"I'm in test 1")
        assert 1 == 1

    def test2(self):"I'm in test 2")
        assert 2 == 2

    def test3(self):"I'm in test 3")
        assert 3 == 3

class TestB():

    def test1(self):"I'm in test 1")
        assert 1 == 1

    def test2(self):"I'm in test 2")
        assert 2 == 2

running it with nosetest using nose-logpertest plugin:

nosetests --with-logpertest

will cause the creation of the following log files:


where each file holds the logs of that specific test and 20141125-120146 is the running time of the tests



Roy Klinger


Tal Ben Basat

Nicole Franco

Maroun Maroun

Sergey Ragatsky


0.0.1 of 27/11/2014

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nose-logpertest, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size nose-logpertest-0.0.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page