Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PythonUnitTest test separation option #13582

Open
aeslaughter opened this issue Jun 14, 2019 · 1 comment
Open

Improve PythonUnitTest test separation option #13582

aeslaughter opened this issue Jun 14, 2019 · 1 comment
Labels
C: MOOSE Scripts Good first issue P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.

Comments

@aeslaughter
Copy link
Contributor

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.

@aeslaughter aeslaughter added T: task An enhancement to the software. P: normal A defect affecting operation with a low possibility of significantly affects. Good first issue labels Jun 14, 2019
@aeslaughter
Copy link
Contributor Author

Motivated by #13581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: MOOSE Scripts Good first issue P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

2 participants