Cucumber is a tool that allows software programmers to write automated tests for acceptance testing in a business-readable domain-specific language called Gherkin. Cucumber tests are written using a behavior-driven development (BDD) style with Given, When, Then steps. Cucumber supports testing applications developed in various programming languages and runs across different platforms and browsers.