invoke

abstract suspend operator fun invoke()(source)

Runs the next interceptor in the chain if there is one.

If there isn't, it runs the following in sequence:

  • The @BeforeTest functions (if any)

  • The @Test function

  • The @AfterTest functions (if any)