Matteo Mirk
10/14/2022, 3:43 PMBig Chungus
10/14/2022, 5:27 PMDmitry Kandalov
10/14/2022, 7:31 PMBig Chungus
10/14/2022, 7:42 PMDmitry Kandalov
10/14/2022, 7:58 PMdmcg
10/14/2022, 8:48 PMBig Chungus
10/14/2022, 8:51 PM@Dmitry Kandalov and I having fun trying to migrate away from Spring Boot
Additionally the video ends with spring boot replaced with http4k.
Big Chungus
10/14/2022, 8:54 PMBig Chungus
10/14/2022, 8:55 PMdmcg
10/14/2022, 9:00 PMdmcg
10/14/2022, 9:03 PMdmcg
10/14/2022, 9:09 PMkqr
10/14/2022, 9:13 PMJacob
10/14/2022, 9:23 PMdmcg
10/14/2022, 9:57 PM박재현 (박재현)
12/02/2022, 1:45 PMJacob
12/02/2022, 2:26 PMDependency injection should make your code less dependent on the container than it would be with traditional J2EE / Java EE development. The POJOs that make up your application should be testable in JUnit or TestNG tests, with objects instantiated by using the new operator, without Spring or any other container. You can use mock objects (in conjunction with other valuable testing techniques) to test your code in isolation. If you follow the architecture recommendations for Spring, the resulting clean layering and componentization of your codebase facilitate easier unit testing. For example, you can test service layer objects by stubbing or mocking DAO or repository interfaces, without needing to access persistent data while running unit tests.
True unit tests typically run extremely quickly, as there is no runtime infrastructure to set up. Emphasizing true unit tests as part of your development methodology can boost your productivity. You may not need this section of the testing chapter to help you write effective unit tests for your IoC-based applications. For certain unit testing scenarios, however, the Spring Framework provides mock objects and testing support classes, which are described in this chapter.^From springs own docs https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#unit-testing If most developers use @SpringBootTest for all unit tests then they're doing it wrong
Craig
12/02/2022, 2:59 PM박재현 (박재현)
12/05/2022, 5:21 AM박재현 (박재현)
12/05/2022, 5:23 AM