-
Notifications
You must be signed in to change notification settings - Fork 47
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
Clarify scope of EXPLICITLY_THROWN_UNCHECKED_EXCEPTIONS test suite #1133
Comments
I am happy to discuss about clusters for fuzzing tests bazed on the utExecution.result. At this moment all unsuccessful fuzzing execution are grouped to the one cluster with the name "EXPLICITLY_THROWN_UNCHECKED_EXCEPTIONS", probably the common name is incorrect Also, I could create a separate clusters for all types of utExecution.result
|
If it collects exceptions of any kind, I'd prefer name like "EXCEPTIONS_THROWN" without any details about checked/unchecked. |
We should at least differentiate Error suite from regression suite |
As a suggestion: |
@alisevych what do you mean under EXPECTED_EXCEPTIONS and UNEXPECTED_EXCEPTIONS from the following list? Am I right?
|
@korifey is it correct to say that all result types could be grouped in Errors and Exceptions? Exceptions: Failures: |
@korifey @Markoutte @alisevych Also as a varinat we could unify it with the clusters produced by the Symbolic Engine.
|
@amandelpie @Markoutte @korifey As for Overflow exceptions - they should be treated as errors or ignored - based on the setting: From my point of view implicitly thrown (by other classes/packages) and explicitly thrown (by user code) - should be in different suites. Sandbox failures should be shown separately - with distinct explanation how to add permissions and regenerate the tests if needed. Timeout exceptions should be added to error suite. Concrete execution failures - are UnitTestBot issues. Should be shown in error suite or separately. |
@rudolf101 @zishkaz
You can find some details in PR - #1250. Also there is Let's consider and discuss an appropriate solution for JavaScript test cases division into suites and their naming. |
Description
Clarify scope of generated suite with EXPLICITLY_THROWN_UNCHECKED_EXCEPTIONS.
Expected behavior
Is it correct that only explicitly thrown exceptions without try-catch should be located in this suite?
Environment
Fuzzing is on.
Context
Example:
Test with String.repeat(-1) throws [java.lang.IllegalArgumentException: count is negative: -1]
Expected result
The test should be put into FUZZING: IMPLICITLY_THROWN_UNCHECKED_EXCEPTIONS region.
Actual result
The test is currently put into FUZZING: EXPLICITLY_THROWN_UNCHECKED_EXCEPTIONS region.
Originally posted by @alisevych in #1102 (comment)
The text was updated successfully, but these errors were encountered: