• funkless_eck@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 hour ago

    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
    • jtrek@startrek.website
      link
      fedilink
      arrow-up
      3
      ·
      45 minutes ago

      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.