IntegrationTest.watcher 字段

定义

public TestRule watcher= new TestWatcher()
    {
        protected void starting(Description description)
        {
            log.info("Starting test: {}", description.getMethodName());
        }

        protected void finished(Description description)
        {
            log.info("Finished test: {}", description.getMethodName());
        }
    }

字段值

TestRule

适用于