GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] New Rule: JUnit5TestNoPrivateModifier · Issue #3288 · pmd/pmd Closed Labels a:new-ruleProposal to add a new built-in rule Milestone DescriptionProposed Rule Name: JUnit5TestNoPrivateModifier Proposed Category: Error Prone Description: Sonar has a similar rule: https://rules.sonarsource.com/java/tag/tests/RSPEC-5810
Code Sample: This should include code, that should be flagged by the rule. If possible, the "correct" code class MyTest { // not public, that's fine @Test private void testBad() { } // private test methods don't work @Test void testGoodJunit5() { } // package private as expected for JUnit5 @Test public void testGoodJunit4() { } // public test method for JUnit4 } Possible Properties:
Activity
MetadataMetadataAssigneesLabelsa:new-ruleProposal to add a new built-in rule TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |