Skip to main content

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

The project is available on GitHub

Installing

You can install nose-logpertest plugin using pip:

$ pip install nose-logpertest

Using

Given the following tests:

class TestA():

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

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

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


class TestB():

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

    def test2(self):
        logger.info("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:

<20141125-120146>
    <TestA>
        test1
        test2
        test3
    <TestB>
        test1
        test2

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

Authors

Authors:

Roy Klinger

Contributors:

Tal Ben Basat

Nicole Franco

Maroun Maroun

Sergey Ragatsky

Version:

0.0.1 of 27/11/2014

Release files for nose-logpertest 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nose-logpertest 0.0.1
File Size Uploaded
nose-logpertest-0.0.1.tar.gz 3.6 kB Details

Release files / nose-logpertest-0.0.1.tar.gz

Download URL nose-logpertest-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8ccd428dc0f5dcdb4b07f73465b272dbbe9f0b049f7b08fa568e2a1ecb260e70
BLAKE2b-256 checksum
How to use checksums
28d867c55e2b9e4fe6d076b398ef761efac7fed75e4c9170187e8fd4d346189d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page