显示:
junit.framework.AssertionFailedError: No tests found in com.service.QuestionServiceTest
解决:
报junit.framework.AssertionFailedError这个错一般是Test命名前面没有加test字样。
没有加test字样如果能运行也有可能test时会很慢。半天没有出现输出结果。
格式:test + (你要的命名)–首字母不能大写
显示:
junit.framework.AssertionFailedError: No tests found in com.service.QuestionServiceTest
解决:
报junit.framework.AssertionFailedError这个错一般是Test命名前面没有加test字样。
没有加test字样如果能运行也有可能test时会很慢。半天没有出现输出结果。
格式:test + (你要的命名)–首字母不能大写