[JAVA-3960] Unified test runner should assert that no exception was thrown from an operation Created: 26/Jan/21 Updated: 28/Oct/23 Resolved: 26/Jan/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Given a unified test that defines an operation with no expectedResult or expectedError, the Java driver's unifier test runner implementation will not fail the test if the operation fails with an error. The spec requires that a test like that should fail. |
| Comments |
| Comment by Githook User [ 26/Jan/21 ] |
|
Author: {'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Fail unified test if an operation throws an exception A unified test should fail in the following circumstance:
|