Read more

Spreewald development steps

Emanuel
August 02, 2021Software engineer at makandra GmbH

Our gem spreewald Show archive.org snapshot supports a few helpers for development. In case you notice errors in your Cucumber tests, you might want to use one of them to better understand the underlying background of the failure. The following content is also part of the spreewald's README Show archive.org snapshot , but is duplicated to this card to allow repeating.

Then console

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

Pauses test execution and opens an IRB shell with current context. Does not halt the application-under-test.

Example:

Given there is a user with the name "Hans Peter"
  And I am signed in as the user above

When I go to the dashboard
  And console
Then I should see "Hans Peter"

AfterStep @slow-motion

Waits 2 seconds after each step

Example:

@slow-motion
Given there is a user with the name "Hans Peter"
  And I am signed in as the user above

When I go to the dashboard
Then I should see "Hans Peter"

AfterStep @single-step

Waits for a keypress after each step

Example:

@single-step
Given there is a user with the name "Hans Peter"
  And I am signed in as the user above

When I go to the dashboard
Then I should see "Hans Peter"
Posted by Emanuel to makandra dev (2021-08-02 09:33)