Class RestDocsTestExecutionListener

  • All Implemented Interfaces:
    org.springframework.core.Ordered, org.springframework.test.context.TestExecutionListener

    public class RestDocsTestExecutionListener
    extends org.springframework.test.context.support.AbstractTestExecutionListener
    A TestExecutionListener for Spring REST Docs that removes the need for a @Rule when using JUnit or manual before and after test calls when using TestNG.
    Since:
    1.4.0
    • Method Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
        Overrides:
        getOrder in class org.springframework.test.context.support.AbstractTestExecutionListener