-
Notifications
You must be signed in to change notification settings - Fork 10
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
Report warnings #72
Comments
Currently it is only possible to pass, fail or skip a test. Warnings can be logged only in the application log. |
I'd like to escalate this. The inability to post a warning has a significant impact in our ability to inform the users of these tests. |
@keshav-nangare @dstenger There is a log.xml file that is generated by each ETS. Could we use that to log warnings into? |
If we write the warning into the log file it is probably hard for non-technical users to find them. @jyutzler What is the exact purpose of the warnings? Shall they be displayed in the HTML report? |
Yes, I would certainly like for warnings to be displayed in the HTML report. I wouldn't want a GeoPackage flagged with one or more warnings to fail certification, but I also would want responsible organizations to strive to achieve GeoPackages that don't have warnings. |
I propose to use a skip result for warnings. A skipped test does not cause an implementation to fail the test suite but a skip is also not a successfully passed test. |
@jyutzler What do you think of this proposal? |
While I do think it would be useful to report on the reason a test was skipped (not requested, no relevant data, etc.), I think this is semantically quite different from a warning. This approach will not allow us to express the message we want to express. |
Currently, it is not possible to configure a text when a test passes. Would it help you if we enable that? Then you could configure something like "WARNING: Some text." for your specific case. Can you please give us an exact example including the actual message? |
RTree:
Once we have proven the concept, we will provide additional instances. |
@keshav-nangare Can you please check if such messages (#72 (comment)) can be printed by the HTML report of TEAM Engine? |
@dstenger @keshav-nangare Yes, I am happy for you to rename the field to "Details". |
@keshav-nangare Can you please check if SoftAssert of TestNG framework can be used? Steps for implementation:
|
In a few places, we want to report warnings. It is unclear to me how to do this through the interface.
If accepted, require extents for feature tablesThe text was updated successfully, but these errors were encountered: