Interface Arguments

    • Method Detail

      • get

        Object[] get()
        Get the arguments used for an invocation of the @ParameterizedTest method.
        Returns:
        the arguments; must not be null
        API Note:
        If you need a type-safe way to access some or all of the arguments, please read the class-level API note.
      • of

        static Arguments of​(Object... arguments)
        Factory method for creating an instance of Arguments based on the supplied arguments.
        Parameters:
        arguments - the arguments to be used for an invocation of the test method; must not be null
        Returns:
        an instance of Arguments; never null
        See Also:
        arguments(Object...)
      • arguments

        static Arguments arguments​(Object... arguments)
        Factory method for creating an instance of Arguments based on the supplied arguments.

        This method is an alias for of(java.lang.Object...) and is intended to be used when statically imported — for example, via: import static org.junit.jupiter.params.provider.Arguments.arguments;

        Parameters:
        arguments - the arguments to be used for an invocation of the test method; must not be null
        Returns:
        an instance of Arguments; never null
        Since:
        5.3