SpringBoot - 集成 junit 測試類

基於 上一篇 文章, 咱們要對完成的代碼進行測試, 須要開啓 SpringbootMybatisApplicationTests, 在瀏覽器輸入對應的地址, 方可進行結果測試展現, 這裏, 咱們經過 SpringBoot 集成 junit 測試類來完成另外一種更簡單的方法進行測試html 一. 導入 junit 測試依賴包 <!--測試的起步依賴--> <dependency> <grou
相關文章
相關標籤/搜索