I was expecting it to be a language. It looks like Cucumber is actually a kind of IDE and the language is Gherkin .
Feature: Guess the word
/# The first example has two steps
Scenario: Maker starts a game
When the Maker starts a game
Then the Maker waits for a Breaker to join
/# The second example has three steps
Scenario: Breaker joins a game
Given the Maker has started a game with the word "silky"
When the Breaker joins the Maker's game
Then the Breaker must guess a word with 5 characters
I kind of intensely dislike that whole… natural language wrapper thing. It adds at least one whole extra layer to maintain for no real benefit. No one non technical is going to read it. If they were some magic competent person, they could just read regular doc strings.
I was expecting it to be a language. It looks like Cucumber is actually a kind of IDE and the language is Gherkin .
I kind of intensely dislike that whole… natural language wrapper thing. It adds at least one whole extra layer to maintain for no real benefit. No one non technical is going to read it. If they were some magic competent person, they could just read regular doc strings.
Yep. It sucks, and it’s just another BS layer on the onion to punch through.