Skip to content
This repository was archived by the owner on May 29, 2018. It is now read-only.
This repository was archived by the owner on May 29, 2018. It is now read-only.

Use nose.main with addplugins to import nose-html. It'll wrap all the test class into only case.case:Test #4

@ghost

Description

The nose plugin provides an useful information testing information!!
But in some scenarios that we use nose.main() with addPlugin parameters, I found it would wrap all the tests into nose.case.Test and cannot classify each test class.
e.g:

import nose
import nose_html
nose_pargv = [__file__, '--with-html']
nose.main(defaultTest=['test_foo', 'test_bar'], argv=nose_pargv, addplugins=[nose_html.HTML()])

The test_report.html will show all the test class into "nose.case:Test: The universal test case wrapper." Hope the problem can be fixed. Thanks anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions