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

Add tests for expected errors #210

Open
bwspenc opened this issue Apr 23, 2021 · 0 comments
Open

Add tests for expected errors #210

bwspenc opened this issue Apr 23, 2021 · 0 comments

Comments

@bwspenc
Copy link
Collaborator

bwspenc commented Apr 23, 2021

Reason

We need to make sure we have good coverage in our testing of error conditions. Add tests of error conditions. Also, some of our existing code has calls to mooseError() for conditions that are more appropriate for mooseAssert() because they are internal code consistency checks, and cannot be reached by a user.

Design

Switch some instances of calls to mooseError() to mooseAssert() and add error tests.

Impact

No impact on existing usage, just more testing.

bwspenc added a commit to bwspenc/blackbear that referenced this issue Apr 23, 2021
bwspenc added a commit to bwspenc/blackbear that referenced this issue Apr 23, 2021
bwspenc added a commit to bwspenc/blackbear that referenced this issue Apr 26, 2021
bwspenc added a commit to bwspenc/blackbear that referenced this issue Apr 26, 2021
bwspenc added a commit to bwspenc/blackbear that referenced this issue Apr 26, 2021
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

No branches or pull requests

1 participant