no-disabled-tests
Added in v0.7.3Configuration
Rule Details
Disallow explicitly skipped or incomplete Rstest tests. This rule reports
test.skip, it.skip, and describe.skip, including valid modifier,
parameterized, and test.extend() chains. It also reports test and it
registrations that omit the callback.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
test.todo is an explicit, visible todo state and is not reported.
context.skip() is Rstest's runtime control-flow API and is also not reported.
Conditional skipIf and runIf expressions are not evaluated by this rule.
Limitations
The rule follows Rstest APIs imported from @rstest/core, globals, namespace
imports, CommonJS requires, and same-file const aliases. It does not trace
custom test APIs through arbitrary cross-file re-exports.
The missing-callback check covers Rstest's (description, options, fn?)
overload only when the options argument is written as an object literal. An
indirect options call such as test('case', options) is not reported, because
the identifier may resolve to the callback itself.
This rule does not provide an autofix because removing skip or inventing a
callback would change test behavior.