Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Create a new annotation for @Test that includes the @DisplayName #13

Description

@kgress

Summary

Right now, we are using Junit Jupiter's @Test and @DisplayName on our test cases. We could wrap both of these annotation to a single @Test annotation on Scaffold so we can write the DisplayName of the test inline with @Test.

@DisplayName currently provides value in formatting the SauceLabs Dashboard test results with a String other than the test method name.

For example, a single @Test annotation that looks like this:

@Test("Clicking Go Should Do the Thing")
public void testGoButton() {
    insertLogicHere();
    assertion;
}

A/C

  • Scaffold should provide an annotation that allows users to write an inline @DisplayName with the @Test annotation
  • Scaffold should still allow users to use the base @Test annotation if they do not want to use @DisplayName

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions