IntegrationTest.watcher Field

定义

public TestRule watcher= new TestWatcher()
    {
        protected void starting(Description description)
        {
            System.out.println("Starting test: " + description.getMethodName());
        }

        protected void finished(Description description)
        {
            System.out.println("Finished test: " + description.getMethodName());
        }
    }

字段值

TestRule

适用于