Skip to content

API with automated tests - Unit, Integration, End-To-End and Mutant Tests with spring boot.

Notifications You must be signed in to change notification settings

rafamguedes/api-automation-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Testing with Spring Boot (unit, integration, end-to-end, subcutaneous tests)

💻 Project

The project is highly focused on ensuring code quality and reliability through a wide range of automated tests, including unit tests, integration, end-to-end and mutant testing. Use Jacoco for coverage analysis of tests. Technologies used include Spring Boot Test, JUnit 5, Mockito, AssertJ, Hamcrest, JsonPath, Jacoco and Pitest.

✨ Technologies

🐳 Database with Docker

To start the database with Docker, run:

docker compose up -d

🛠️ Build and Run

  • Have maven installed

  • To build and run all tests, run the command:

    mvn clean verify
    
  • Run Only Integration Tests:

    mvn clean verify -Dsurefire.skip=true
    
  • To run just the unit tests, run:

    mvn clean verify -DskipITs=true
    
  • To run mutant coverage tests, run:

    mvn test-compile org.pitest:pitest-maven:mutationCoverage
    

Test coverage

General coverage

Domain testing coverage

Web testing coverage

Mutant testing coverage with Pitest

About

API with automated tests - Unit, Integration, End-To-End and Mutant Tests with spring boot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages