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

TestRunner: ABORT_TESTING_AFTER_ERROR ignored for test cases added individually to testsuite #1036

Closed
ddffnn opened this issue Aug 20, 2019 · 0 comments · Fixed by #1068
Closed
Labels
Milestone

Comments

@ddffnn
Copy link
Contributor

ddffnn commented Aug 20, 2019

Describe the bug
If test cases are added to a test suite individually using add_test_case(..., ...) then the ABORT_TESTING_AFTER_ERROR option (or checkbox) has no effect. All the other test cases still run.

To Reproduce
Steps to reproduce the behavior:

  1. Implement test case that produces error
  2. Add said test case to testsuite using add_test_case(..., ...)
  3. Add additional test cases
  4. Enable ABORT_TESTING_AFTER_ERROR
  5. Run testsuite

Expected behavior
Only the test cases preceding the error test case, and the error test case itself, should execute.

Observed behavior
All test cases added to testsuite execute.

Environment (please complete the following information):

  • OS: Windows 10
  • COSMOS Version 4.4.0
@ghost ghost added the bug label Oct 28, 2019
@ghost ghost self-assigned this Oct 28, 2019
@ryanmelt ryanmelt added this to the v4.4.1 milestone Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants