client-java
client-java copied to clipboard
[Improve] Add the ability to call methods in the @Step annotation
In Add more sources to Step annotaion issue a lot of work has been done, thanks to all the developers who participated in this request. But as far as I understand from the documentation and what I tried in practice, the possibility to call parameter methods has never been implemented.
Is it possible to add the following feature:
@Step("Asserting '{dataCheckEntry.getKey()}' year")
private void assertYear(Map.Entry<Integer, String> dataCheckEntry) { // method entry just for example
// Some step code
}