Test
supports
The spring-test module supports the unit testing and integration testing of Spring components with JUnit or TestNG:
spring-test模块支持使用JUnit或者TestNG了Spring组件的单元测试和集成测试。
什么是单元测试?
单元测试(unit testing),是指对软件中的最小可测试单元进行检查和验证。对于单元测试中单元的含义,一般来说,要根据实际情况去判定其具体含义,如C语言中单元指的是一个函数,