测试的时候控制台没有junit的信息

来源:4-1 使用集成测试Service逻辑

慕瓜0157034

2020-02-10 00:46

11:31:44,165 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]

11:31:44,165 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]

11:31:44,165 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/hzx/version-control/seckill/target/classes/logback.xml]

11:31:44,436 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

11:31:44,468 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]

11:31:44,482 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property

11:31:44,525 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG

11:31:44,525 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]

11:31:44,526 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

11:31:44,527 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@80503 - Registering current configuration as safe fallback point


写回答 关注

1回答

  • guitarock
    2020-02-14 18:51:30

    Could NOT find resource [logback-test.xml] 没有找到配置文件

Java高并发秒杀API之Service层

Java实现高并发秒杀API,介绍秒杀业务Service层的设计和实现

59897 学习 · 137 问题

查看课程

相似问题