Closed cj19 closed 10 months ago
Since 4.0 most of the Cucumber related step implementations of Citrus have been moved to a separate sub-project called YAKS (https://github.com/citrusframework/yaks)
You can use the MessageCreator feature by adding this dependency:
testImplementation group: 'org.citrusframework', name: 'yaks-standard`, version: '0.17.1'
Here is an example how message creator works with YAKS: https://github.com/citrusframework/yaks/blob/main/java/steps/yaks-standard/src/test/resources/org/citrusframework/yaks/standard/message-creator.feature
Since 4.0 most of the Cucumber related step implementations of Citrus have been moved to a separate sub-project called YAKS (https://github.com/citrusframework/yaks)
You can use the MessageCreator feature by adding this dependency:
testImplementation group: 'org.citrusframework', name: 'yaks-standard`, version: '0.17.1'
Here is an example how message creator works with YAKS: https://github.com/citrusframework/yaks/blob/main/java/steps/yaks-standard/src/test/resources/org/citrusframework/yaks/standard/message-creator.feature
Thank you for your reply! I will look into it. :)
Citrus Version 4.0.2
Question In the older version (2.8) there was an option create messages with methods annotated with MessageCreator. In the latest versions of citrus and cucumber what are the alternatives to declare and dynamically use such messages?
I'm using gradle and these are the dependencies that I added so far: