Overview of Cucumber
Cucumber which is a software tool that computer programmers use for testing other software. Prior to learn Cucumber, one should have the basic knowledge of Ruby as Cucumber is written in the Ruby programming language. This course will make you learn how to execute specifications with Cucumber using Ruby, Java, JavaScript, .NET, PHP, Groovy, Scala or Clojure.
Duration
3 Days
Prerequisite for Cucumber
Participants should have a basic knowledge of OOP & Ruby.
Course Outline for Cucumber
Content
- Introduction to BDD
- How it works
- Getting Started
- Creating a Featurern
- Creating Step Definitionsrn
- Executionrn
- Changing Formattersrn
- Adding an Assertionrnr –
- Gherkin
- Format and Syntaxrn
- Featurern
- Scenario
- Step Definitions: From the Outside
- Stepsrn
- Capturing Argumentsrn
- Multiple Capturesrn
- Flexibilityrn
- Returning Results
- Expressive Scenarios
- Data Tablesrn
- Scenario Outlinern
- Nesting Stepsrn
- Doc Stringsrn
- Tags
- Using Cucumber Effectively
- Teamingrn
- Handling the testsrn
- Defect Prevention
- Step Definitions: On the Inside
- Sketching Out the Domain Modelrn
- Removing Duplication with Transformsrn
- Adding Custom Helper Methodsrn
- Organizing
- Support Code
- Bootstrapping the User Interfacern
- Using hooksrn
- Building the User Interface
- Dealing with Message Queues and Asynchronous Components
- Async Architecturern
- How to Synchronize
- Databases
- ActiveRecordrn
- Handling DBrn
- Cleaning DB