Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chriniko13/controller-error-handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

controller-error-handling

About:

  • How to handle exceptions/errors correctly on resource(controller) layer.

Technologies Used:

Build Tool:

  • Maven

Build Plugins Used:

  • Maven surefire (for unit tests)
  • Maven failsafe (for integration tests)
  • Jacoco (for line and branch coverage on unit tests)
  • Pitest (for mutation testing on unit tests)

Unit Tests:

  • mvn test
  • To see jacoco output go to: target/jacoco-ut/index.html

Integration Tests:

  • mvn integration-test

Mutation Testing:

  • mvn test org.pitest:pitest-maven:mutationCoverage
  • To see pitest output go to: target/pit-reports/index.html

Apply Coverage Rules (for Jacoco & Pitest)

  • mvn verify

AltStyle によって変換されたページ (->オリジナル) /