Skip to content

[test-schema] Add focused attr to the test schema#4058

Merged
adangel merged 9 commits into
pmd:masterfrom
oowekyala:pmd6-focused-test-attr
Jul 23, 2022
Merged

[test-schema] Add focused attr to the test schema#4058
adangel merged 9 commits into
pmd:masterfrom
oowekyala:pmd6-focused-test-attr

Conversation

@oowekyala

Copy link
Copy Markdown
Member

Describe the PR

Add the focused attribute, and deprecate some things in RuleTst.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@oowekyala oowekyala added this to the 6.48.0 milestone Jul 22, 2022
@ghost

ghost commented Jul 22, 2022

Copy link
Copy Markdown
1 Message
📖 No regression tested rules have been changed.

Generated by 🚫 Danger

@adangel adangel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

I was also a bit working on this area... I'll push the following changes to your branch:

  • also document "useAuxClasspath" as deprecated in the schema
  • remove deprecated usages in our rule test xml files (there are not many)
  • delete the not needed code in RuleTst regarding "reinitializeRule" and "useAuxClasspath"

Comment thread pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java Outdated
@adangel adangel merged commit 907c072 into pmd:master Jul 23, 2022
@oowekyala oowekyala deleted the pmd6-focused-test-attr branch July 23, 2022 20:33
adangel added a commit to pmd/pmd.github.io that referenced this pull request Jul 28, 2022
adangel added a commit to pmd/pmd.sourceforge.net that referenced this pull request Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[test] Improve xml test schema

2 participants