org.sonar.l10n.plsqlopen.rules.plsql.DisabledTest.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zpa-checks Show documentation
Show all versions of zpa-checks Show documentation
Z PL/SQL Analyzer :: Checks
The newest version!
When a test fails due, for example, to infrastructure issues, you might want to ignore it temporarily.
But without some kind of notation about why the test is being disabled, it may never be reactivated.
This rule raises an issue for each disabled test that does not have a notation about why it was disabled.
Noncompliant Code Example
-- %test(my test)
-- %disabled
procedure test;
Compliant Solution
-- %test(my test)
procedure test;
Exceptions
The rule doesn't raise an issue if there is a comment in the %disabled
annotation.