Annotation Type RunWithCustomExecutor


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface RunWithCustomExecutor
    Junit Test method annotation used to run the associated test in a specific Thread (RunWithCustomExecutorRule. Mainly designed to run Tests inside VitamThreads
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      long timeout
      Equivalent of @Test(timeout=) for running tests with a VitamThread.
    • Element Detail

      • timeout

        long timeout
        Equivalent of @Test(timeout=) for running tests with a VitamThread.
        Default:
        0L