Skip to content

Improve PythonUnitTest test separation option #13582

@aeslaughter

Description

@aeslaughter

Reason

Tests in python that use the unittest package can contain a large number of tests in a single script. The PythonUnitTest object in the MOOSE test system is designed to run these tests. The separate option should automatically create individual tests within the test harness to allow for large unittests to be tested individually from a single test specification, this will help provide more useful information on failure as well as minimize timeout issues.

Design

The TestHarness should create test objects for each unittest test, in similar fashion as the --recover option creates multiple parts for each test.

Impact

This will elimnate the need to create separate tests for large unittests, which will avoid inadvertently neglecting new unittests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: MOOSE ScriptsGood first issueP: normalA defect affecting operation with a low possibility of significant effects.T: taskAn enhancement to the software.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions