junit5
0 人感兴趣 · 5 次引用
- 最新
- 推荐

Testng 和 Junit5 多线程并发测试对比
最近测试一个开源项目,发现生成的 全局id 有重复,也没有单元测试,就准备贡献个 PR。想到多线程并发测试,根据经验,第一想法是用 Testng,后面看了下 Junit5也有实验性支持了,就对比下(以 maven 为例)

SpringBoot 整合 Junit
JUnit是一个Java语言的单元测试框架。 SpringBoot整合Junit,Spring整合Junit。

JUnit 5 简明教程
写测试用例对于开发来说有2点好处,一是开发阶段写完的功能可以快速验证,第二就是在后期需求变动或修改BUG后可以快速测试当前改动是否带来其它问题。下面就了解一下Junit5写测试用例。