Interface Plugin.Scope

  • Enclosing interface:
    Plugin

    public static interface Plugin.Scope
    The plugin scope for the test.
    • Method Detail

      • create

        Object create​(Class<?> type)
        Create an instance of this type to inject into the test.

        For example, avaje-jex-test will create a http client.

      • close

        void close()
        Close resources that are in this scope - for example, http server.