louisthomas / productservice

Sample application from the TDD with Spring and Unit 5 PluralSight course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

productservice

Quality Gate Status Coverage Known Vulnerabilities

Base on product-service from the TDD with Spring and Unit 5 PluralSight course.

@SpringBooTest vs @WebMvcTest vs ...

When you use @SpringBootTest, you are loading the complete application context. If you are only testing the controller and you're mocking the service, use @WebMvcTest.

Test auto-configuration annotations

Great article to explain the difference between test @nnotation

Todos:

  • Add integration test with test containers
  • Add flyway database migration tool
  • Add Snyk dependencies security scan
  • Add dependabot automated dependency updates
  • Add deployment to Pivotal Web service

About

Sample application from the TDD with Spring and Unit 5 PluralSight course


Languages

Language:Java 100.0%