idea+springboot 完成項目的單元測試

單元測試很重要 很簡單,但是可能3年碼農的你可能還沒寫過也可能沒有配過。 本文主要針對service層增加的單元測試 直接上代碼嗎,不廢話: 在pom中加入依賴,test-starter <!--測試依賴包--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-star
相關文章
相關標籤/搜索