摘要:一、问题描述 二、解决办法 找到项目中依赖的javassist的jar的maven依赖,将其排除掉
阅读全文
摘要:https://cloud.tencent.com/developer/article/1478559?from=information.detail.evosuite https://blog.csdn.net/u014163312/article/details/108697883
阅读全文
摘要:一、参考wiki https://blog.csdn.net/pan_junbiao/article/details/104296855 https://www.cnblogs.com/zgq123456/p/12907757.html 什么是Junit5 ? 先看来个公式: JUnit 5 = J
阅读全文
摘要:PowerMock:https://www.ibm.com/developerworks/cn/java/j-lo-powermock/index.html api文档:https://www.javadoc.io/doc/org.powermock 验证静态void方法,并捕货静态void方法返回
阅读全文
摘要:一、方法调用次数验证 public void test01() { Long channelProductionId = Long.MAX_VALUE; Date billDate = DateUtils.getDateOfDayBegin(new Date()); //模拟行为 Mockito.w
阅读全文
摘要:https://github.com/hehonghui/mockito-doc-zh/blob/master/README.md#0
阅读全文
摘要:参考:https://blog.csdn.net/qq_29837161/article/details/80813074一、什么是单元测试 教程:https://www.w3cschool.cn/junit/uhyr1hvd.html junt5文档:https://junit.org/junit
阅读全文