A bit hacky, but in a pinch, perhaps you could add a Then block, called "Then pause tests", which either stops or goes into the polling cycle, and does not continue until it sees some change in conditions (for example, do you touch /features/continue.txt)?
Stick to โSuspend Testsโ in the test you want to see, and you have a way to check the database before continuing. Of course, this does not work if Cucumber uses database transactions ...
(Sorry for the uncertainty, it has been a while since I last used Cucumber.)
Sam Livingston-Gray
source share