Skip to content

Add selective error handling for DomainError in tests#215

Merged
ocots merged 1 commit intomainfrom
validation
Mar 10, 2026
Merged

Add selective error handling for DomainError in tests#215
ocots merged 1 commit intomainfrom
validation

Conversation

@ocots
Copy link
Member

@ocots ocots commented Mar 10, 2026

  • Create handle_solver_error utility function to selectively mark DomainError as broken
  • Replace catch blocks in all test files with centralized error handling
  • DomainError exceptions now mark tests as broken instead of errored
  • Other exceptions are rethrown to maintain proper test failure behavior
  • Add new test figures for all problems
  • Extensible design allows easy addition of other exception types

- Create handle_solver_error utility function to selectively mark DomainError as broken
- Replace catch blocks in all test files with centralized error handling
- DomainError exceptions now mark tests as broken instead of errored
- Other exceptions are rethrown to maintain proper test failure behavior
- Add new test figures for all problems
- Extensible design allows easy addition of other exception types
@ocots ocots merged commit 46513b1 into main Mar 10, 2026
3 of 7 checks passed
@ocots ocots deleted the validation branch March 10, 2026 14:43
@ocots ocots mentioned this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant