Class JupiterTestEngine

    • Constructor Detail

      • JupiterTestEngine

        public JupiterTestEngine​()
    • Method Detail

      • getId

        public java.lang.String getId​()
        Description copied from interface: TestEngine
        Get the ID that uniquely identifies this test engine.

        Each test engine must provide a unique ID. For example, JUnit Vintage and JUnit Jupiter use "junit-vintage" and "junit-jupiter", respectively. When in doubt, you may use the fully qualified name of your custom TestEngine implementation class.

      • getGroupId

        public java.util.Optional<java.lang.String> getGroupId​()
        Returns org.junit.jupiter as the group ID.
        Returns:
        an Optional containing the group ID; never null but potentially empty if the group ID is unknown
        See Also:
        TestEngine.getArtifactId(), TestEngine.getVersion()
      • getArtifactId

        public java.util.Optional<java.lang.String> getArtifactId​()
        Returns junit-jupiter-engine as the artifact ID.
        Returns:
        an Optional containing the artifact ID; never null but potentially empty if the artifact ID is unknown
        See Also:
        Class.getPackage(), Package.getImplementationTitle(), TestEngine.getGroupId(), TestEngine.getVersion()