name

open override fun name(name: String)

Sets the name for this test scenario.

This method assigns a descriptive name to the current test scenario, which will be used in test reporting and dynamic test naming to provide better identification of test cases.

Parameters

name

the descriptive name for the test scenario


override var name: String

The name identifier for this test scenario. Used in dynamic test naming and reporting.