Add back common rule S1606 and change the status to closed

This commit is contained in:
Čaba Šagi 2022-08-12 00:26:34 +02:00 committed by GitHub
parent 45ddb8fdce
commit e4779f834f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 230 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

4
rules/S1606/message.adoc Normal file
View File

@ -0,0 +1,4 @@
=== Message
Fix failing unit tests on file "XXXXX"

29
rules/S1606/metadata.json Normal file
View File

@ -0,0 +1,29 @@
{
"title": "Failed unit tests should be fixed",
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Linear",
"linearDesc": "per failed test",
"linearFactor": "10min"
},
"tags": [
"tests"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
"FailedUnitTests"
]
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-1606",
"sqKey": "S1606",
"scope": "Tests",
"defaultQualityProfiles": [
],
"quickfix": "unknown"
}

View File

@ -0,0 +1,3 @@
{
}

10
rules/S1606/php/rule.adoc Normal file
View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

10
rules/S1606/pli/rule.adoc Normal file
View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

10
rules/S1606/rpg/rule.adoc Normal file
View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

2
rules/S1606/rule.adoc Normal file
View File

@ -0,0 +1,2 @@
Test failures or errors generally indicate that regressions have been introduced. Those tests should be handled as soon as possible to reduce the cost to fix the corresponding regressions.

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

10
rules/S1606/vb6/rule.adoc Normal file
View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
include::../rule.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]