Interface TestCaseBuilder

  • All Known Subinterfaces:
    TestCaseRunner

    public interface TestCaseBuilder
    Author:
    Christoph Deppisch
    • Method Detail

      • getTestCase

        TestCase getTestCase()
        Builds the test case.
        Returns:
      • testClass

        void testClass​(Class<?> type)
        Set test class.
        Parameters:
        type -
      • name

        void name​(String name)
        Set custom test case name.
        Parameters:
        name -
      • description

        void description​(String description)
        Adds description to the test case.
        Parameters:
        description -
      • author

        void author​(String author)
        Adds author to the test case.
        Parameters:
        author -
      • packageName

        void packageName​(String packageName)
        Sets custom package name for this test case.
        Parameters:
        packageName -
      • creationDate

        void creationDate​(Date date)
        Sets the creation date.
        Parameters:
        date -
      • groups

        void groups​(String[] groups)
        Sets the test group names for this test.
      • variable

        <T> T variable​(String name,
                       T value)
        Adds a new variable definition to the set of test variables for this test case and return its value.
        Parameters:
        name -
        value -
        Returns: