Skip to content

← All questions

Migrating a Cucumber suite: what replaces the World object we keep scenario state in?

Asked 5,290 views1 answer

Our Cucumber suite keeps everything on the World: the id of the record the last step created, the current user, a couple of counters, and a response object that three later steps read.

Feature files copy across fine and the tags lint clean. The step definitions are where I am stuck, because half of them are this.something = ... and there is no this to put it on.

asked by Rasha Halabi572 ·

1 answer

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related