Hi @Albert Vesker at the moment the only option is to create multiple stubs for the different states. In future we’re planning to add some richer capabilities around statefulness which will reduce the amount of duplication.
Tom
03/27/2023, 2:58 PM
Although, since you’re driving it with code, I guess you can DRY it out that way i.e. create a factory/step definition that does the work of setting the scenario steps up.
a
Albert Vesker
03/27/2023, 3:06 PM
No. I use only JSON mappings =(
Albert Vesker
03/27/2023, 3:27 PM
I use wiremock docker-compose where I upload mappings and stubs
t
Tom
03/27/2023, 3:27 PM
Why not drive it from Java, since you’re presumably writing step definitions in it already?
a
Albert Vesker
03/27/2023, 3:36 PM
I use jave only for cucumber steps. Framework for AT is build for long time and no any oprions to change json-mappings to java