diff --git a/schema/index.md b/schema/index.md index 67a9d410d0..1c8dc52955 100644 --- a/schema/index.md +++ b/schema/index.md @@ -43,13 +43,14 @@ title: PMD Schema **Namespace:** http://pmd.sourceforge.net/rule-tests -**Schema Location:** +**Schema Location:** -**Current Version:** 1.1.0 +**Current Version:** 1.1.1 -**Last Change:** 2025-06-22 +**Last Change:** 2025-08-08 **Documentation:** [Testing your rules](https://docs.pmd-code.org/latest/pmd_userdocs_extending_testing.html#test-xml-reference) **Old Versions:** +* [1.1.0 (2025-06-22)](https://pmd.github.io/schema/rule-tests_1_1_0.xsd) * [1.0.0 (2022-07-22)](https://pmd.github.io/schema/rule-tests_1_0_0.xsd) diff --git a/schema/rule-tests_1_1_1.xsd b/schema/rule-tests_1_1_1.xsd new file mode 100644 index 0000000000..a5e1510edc --- /dev/null +++ b/schema/rule-tests_1_1_1.xsd @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + A code fragment that can be referred to by several tests. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Declares the expected suppressed violations. Since PMD 7.15.0 / rule-tests 1.1.0. + + + + + + + + + + + + + + + + + + + + + + + + + + + Language version of the source, eg 'java 8'. + + + + + + + + This attribute is deprecated, it is assumed true and ignored. + + + + + + + This attribute is deprecated. Use "disabled" instead. + If this attribute is set to "false", then the test is ignored. + + + + + + + This attribute is deprecated, it is assumed true and ignored. + + + + + + + + A reason why the test is disabled/ignored should be provided as a comment for the test. + + + + + + + If true, only this test will be executed, and all others will be disabled. + If several tests in the same file are focused, then the last one wins, in + document order. + This attribute is provided as a way for developers to temporarily focus on a single test. + Test files with a focused test should not be checked in. For this reason, + using this attribute produces a warning. + + + + + + + + + + + + +