Skip to content

[Feature] Add {this.value} to @Step processing #385

@ghost

Description

I'm submitting a feature request

What is the current behavior?

At this point allure can't add object on which method is triggered but it would be very pleasing to have this feature because ofter I need to pass to @step 'this' object and I can't.

Example:

public class Person{

private String firstName;
private boolean isEmployee;

@step("Is {this.firstName} an employee?")
public boolean isAnEmployee(){
return isEmployee;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions