-
Notifications
You must be signed in to change notification settings - Fork 186
Feature/add reason to disable #1183
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
Conversation
…ture/add_reason_to_disable
Codecov Report
@@ Coverage Diff @@
## develop #1183 +/- ##
===========================================
- Coverage 94.86% 94.80% -0.07%
===========================================
Files 104 104
Lines 4853 4886 +33
Branches 21 23 +2
===========================================
+ Hits 4604 4632 +28
- Misses 241 245 +4
- Partials 8 9 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to also update other reporters except ut_documentation_reporter
Particularly:
ut_junit_reporter
- tag<skipper>reason</skipped>
ut_tfs_junit_reporter
- tag<skipper>reason</skipped>
For the ut_realtime_reporter
- It would be good to check with @PhilippSalvisberg
For the ut_teamcity_reporter
- I'm not sure if the format supports a disabled/skipped description. The format description can be found here.
I didn't run utPLSQL on TeamCity for a long time and don't have local setup ready.
You would need to install and run TeamCity build locally (docker?) to actually test it.
Update
I've checked the documentation and the disabled (ignored) description is supported in TeamCity:
##teamcity[testIgnored name='testName' message='ignore comment']
I don't think this information is required for the realtime reporter. If you decide to add it, it will not have any effect. The SQLDev extension and the PL/SQL Developer plugin will ignore this additional information. If you think the behaviour in the IDE should change then I suggest to open dedicated issues for SQLDev and PL/SQL Developer. |
So personally I think if we want to have that feature enabled it makes sense to be consistent. I think it's useful piece of information. |
As mentioned before, you can include it if you want. The SQLDev extension and the PL/SQL Dev plugin will work without any change since they just pick the information from the XML events they need. I suggest to open dedicated issues for the IDEs. I think the commercial tools TOAD and DataGrip do not use the realtime reporter. However, if the reason for a disabled test should be displayed in the test runner they need to change something as well. |
Here are results for as per documentation
|
If created a feature request for the PL/SQL Developer plugin utPLSQL/utPLSQL-PLSQL-Developer#25 |
Kudos, SonarCloud Quality Gate passed! |
Adding option to put a reason for disabling tests.
CLOSES #610