Skip to content

Enable checkstyle for test code #5122

@aaron-ai

Description

@aaron-ai

To improve the quality of test code, checkstyle should be enabled.

  <executions>
      <execution>
          <id>verify</id>
          <phase>verify</phase>
          <configuration>
              <configLocation>style/rmq_checkstyle.xml</configLocation>
              <encoding>UTF-8</encoding>
              <consoleOutput>true</consoleOutput>
              <failsOnError>true</failsOnError>
              <!-- test checkstyle is disabled here -->
              <includeTestSourceDirectory>false</includeTestSourceDirectory>
          </configuration>
          <goals>
              <goal>check</goal>
          </goals>
      </execution>
  </executions>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions