| CARVIEW |
Select Language
HTTP/2 200
accept-ranges: bytes
age: 31031
cache-control: public,max-age=0,must-revalidate
cache-status: "Netlify Edge"; hit
content-encoding: gzip
content-type: text/html; charset=UTF-8
date: Fri, 26 Dec 2025 12:31:04 GMT
etag: "09a6ca422feb4694e28974f1b930946b-ssl-df"
server: Netlify
strict-transport-security: max-age=31536000
vary: Accept-Encoding
x-nf-request-id: 01KDDA889AP6PZBDSTHRF3JWN7
content-length: 4742
Cucumber
Cucumber lets you write automated tests in plain language
+25 more platforms
Cucumber is a tool for running automated acceptance tests, written in plain language. Because they're written in plain language, they can be read by anyone on your team, improving communication, collaboration and trust.
Got 10 minutes?
Get up and running quickly with Cucumber on your technology stack.
Take the Tutorial →Want to go further?
Learn about Behaviour-Driven Development (BDD), the development process that Cucumber was built to support.
Learn about BDD →features/withdrawing-cash.feature
Feature: Withdrawing cash
Rule: Customers cannot withdraw more than their balance
Scenario: Successful withdrawal within balance
Given Alice has 234.56 in their account
When Alice tries to withdraw 200.00
Then the withdrawal is successful
Scenario: Declined withdrawal in excess of balance
Given Hamza has 198.76 in their account
When Hamza tries to withdraw 200.00
Then the withdrawal is declined