@@ -54,6 +54,7 @@ Being based on a proper Antlr grammar, CPD can:
54
54
* java-performance
55
55
* [ #3625 ] ( https://github.com/pmd/pmd/issues/3625 ) : \[ java] AddEmptyString - false negative with empty var
56
56
* test
57
+ * [ #3302 ] ( https://github.com/pmd/pmd/pull/3302 ) : \[ test] Improve xml test schema
57
58
* [ #3758 ] ( https://github.com/pmd/pmd/issues/3758 ) : \[ test] Move pmd-test to java 8
58
59
* [ #3976 ] ( https://github.com/pmd/pmd/pull/3976 ) : \[ test] Extract xml schema module
59
60
@@ -65,8 +66,12 @@ Being based on a proper Antlr grammar, CPD can:
65
66
this module for testing your own custom rules, you'll need to make sure to use at least Java 8.
66
67
* The new module "pmd-test-schema" contains now the XSD schema and the code to parse the rule test XML files. The
67
68
schema has been extracted in order to easily share it with other tools like the Rule Designer or IDE plugins.
68
- * The attribute ` isRegressionTest ` is deprecated and the new attribute ` disabled ` should be used instead for
69
- defining whether a rule test should be skipped or not.
69
+ * Test schema changes:
70
+ * The attribute ` isRegressionTest ` of ` test-code ` is deprecated. The new
71
+ attribute ` disabled ` should be used instead for defining whether a rule test should be skipped or not.
72
+ * The attributes ` reinitializeRule ` and ` useAuxClasspath ` of ` test-code ` are deprecated and assumed true.
73
+ They will not be replaced.
74
+ * The new attribute ` focused ` of ` test-code ` allows disabling all tests except the focused one temporarily.
70
75
* More information about the rule test framework can be found in the documentation:
71
76
[ Testing your rules] ( pmd_userdocs_extending_testing.html )
72
77
@@ -77,6 +82,8 @@ Being based on a proper Antlr grammar, CPD can:
77
82
but it is no longer supported with Java 19 Preview.
78
83
* The interface {% jdoc core::cpd.renderer.CPDRenderer %} is deprecated. For custom CPD renderers
79
84
the new interface {% jdoc core::cpd.renderer.CPDReportRenderer %} should be used.
85
+ * The class {% jdoc test::testframework.TestDescriptor %} is deprecated, replaced with {% jdoc test-schema::testframework.RuleTestDescriptor %}.
86
+ * Many methods of {% jdoc test::testframework.RuleTst %} have been deprecated as internal API.
80
87
81
88
#### Experimental APIs
82
89
0 commit comments