2023-07-19-TIL
2023-07-19-TIL
Today I Learned
JUnit5 Testing
- https://github.com/mkyong/junit5-examples
- https://github.com/cronn/cucumber-junit5-example
- https://github.com/rmondejar/spring-boot-junit5-example/tree/master
- https://github.com/swtestacademy/allure-junit5-example/tree/master
- https://www.swtestacademy.com/allure-report-junit/
- https://github.com/bonigarcia/mastering-junit5/tree/master
- https://github.com/howtoprogram/junit5-examples/tree/master
@Spy vs @Mock
- https://javapointers.com/java/unit-test/difference-between-spy-and-mock-in-mockito/
- https://stackoverflow.com/questions/28295625/mockito-spy-vs-mock
- https://luizcostatech.medium.com/what-is-the-difference-between-mock-and-spy-c5585922d9fd
- https://www.javatpoint.com/mock-vs-stub-vs-spy
- https://www.baeldung.com/mockito-spy
RestAssured
- https://rest-assured.io/
- https://github.com/rest-assured/rest-assured/wiki/Usage
- https://velog.io/@jjy5349/RestAssured%EB%A5%BC-%EC%9D%B4%EC%9A%A9%ED%95%9C-%ED%85%8C%EC%8A%A4%ED%8A%B8-%EC%BD%94%EB%93%9C-%EC%9E%91%EC%84%B1%ED%95%98%EA%B8%B0
Spring Boot JUnit5
- https://github.com/rmondejar/spring-boot-junit5-example/blob/master/src/test/java/example/service/BookServiceTest.java
- https://stackoverflow.com/questions/64780100/write-unit-test-in-springboot-without-start-application
- https://www.baeldung.com/spring-boot-testing-pitfalls
Mocking vs Stubbing
- https://www.educative.io/answers/what-is-faking-vs-mocking-vs-stubbing
- https://codinghack.tistory.com/92
This post is licensed under CC BY 4.0 by the author.