java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=testSetter], {ExactMatcher:fDisplayName=testSetter(com.imooc.test.ioc.interfaces.TestInjection)], {LeadingIdentifierMatcher:fClassName=com.imooc.test.ioc.interfaces.TestInjection,fLe

代码和报错如下
junit测试学习 - 图1
junit测试学习 - 图2
junit测试学习 - 图3

junit测试学习 - 图4
解决了,缺少hamcrest-all-1.3.jar。http://repo2.maven.org/maven2/org/hamcrest/hamcrest-all/1.3/
感谢http://blog.csdn.net/suyunjing/article/details/20124641
2017-03-03