竞争无处不在,青春永不言败!专业撸代码,副业修bug

Talk is cheap , show me the code!



IDEA 好用的插件-- 装机必备

Material Theme UI 确实好看
Alibaba Java Coding Guideline 规范代码
FindBugs-IDEA 减少 bug
Free MyBatis plugin 可以让人在 Mapper 接口与 XML 来回跳跃更加方便
GoogleTranslation 可以让你不记得英文单词的时候还能愉快写代码
GsonFormat 告别 Bejson
JRebel  热部署
JUnitGenerator V2.0  生成 单元测试 template

我们只需要在springboot项目的resources文件夹下面创建一个banner.txt文件,springboot启动的时候会去加载这个文件

Application Version: ${ruoyi.version}
Spring Boot Version: ${spring-boot.version}
////////////////////////////////////////////////////////////////////
//                          _ooOoo_                               //
//                         o8888888o                              //
//                         88" . "88                              //
//                         (| ^_^ |)                              //
//                         O\  =  /O                              //
//                      ____/`---'\____                           //
//                    .'  \\|     |//  `.                         //
//                   /  \\|||  :  |||//  \                        //
//                  /  _||||| -:- |||||-  \                       //
//                  |   | \\\  -  /// |   |                       //
//                  | \_|  ''\---/''  |   |                       //
//                  \  .-\__  `-`  ___/-. /                       //
//                ___`. .'  /--.--\  `. . ___                     //
//              ."" '<  `.___\_<|>_/___.'  >'"".                  //
//            | | :  `- \`.;`\ _ /`;.`/ - ` : | |                 //
//            \  \ `-.   \_ __\ /__ _/   .-` /  /                 //
//      ========`-.____`-.___\_____/___.-`____.-'========         //
//                           `=---='                              //
//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //
//             佛祖保佑       永不宕机      永无BUG               //
////////////////////////////////////////////////////////////////////



netstat -ano|findstr /i "8090"
----------==========================----
set ws=WScript.CreateObject("WScript.Shell") 
ws.Run "java -jar ./adtd-api.jar ",0

--------------------=====================================----------------------------------
@echo off
start java -jar ./adtd-api.jar 
::> batchLog%date:~0,4%%date:~5,2%%date:~8,2%.log

exit



单元测试 vs 集成测试
白盒测试 vs 黑盒测试
自动测试 vs 手动测试
回归测试
压力测试


静态导入一般在 单元测试时候使用
import static org.junit.Assert.*;

posted @ 2021-05-06 12:03  云雾散人  阅读(76)  评论(0编辑  收藏  举报

Your attitude not your aptitude will determine your altitude!

如果有来生,一个人去远行,看不同的风景,感受生命的活力!