RUBY CUCUMBER

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

Cucumber is an open source tool to support Behavior Driven Development with plain text specifications and unobtrusive automation in Ruby.

At the end of the training, participants will be able to:

Pre-requisite

Students should have taken the Software Development for Non-Programmers.

Duarion

5 days

Course Outline

  1. Running Ruby
  2. Command-line Ruby
  3. The Interactive Ruby (irb) console
  1. Basic object-orientation concepts
  2. Naming conventions
  3. Variable assignment
  4. Local vs. instance variables
  5. Life of different variables in methods
  6. Method-calling semantics
  7. Method arguments and return values
  1. Instantiating classes
  2. Polymorphism in ruby
  3. Mixing in modules
  1. String
  2. Array
  3. Hash
  4. Symbol
  5. Numerics
  1. Blocks vs. methods vs. lambdas
  2. Collection iteration
  3. Single-object iteration
  4. Exceptions
  5. Built-in exceptions
  6. Writing your own exception classes
  7. Exceptions in Rails
  1. Writing Features
  2. Writing Scenarios
  3. Writing Step Definitions
  4. Putting BDD into Practice
  5. Cucumber Framework in Detail
  6. Reusing Steps
  7. Running Tests in Different Browsers
  8. Tagging Scenarios
  9. Hooks in Cucumber
  1. Intro to Capybara
  2. Elements and semantics in Capybara
  3. Xpath in Capybara
  4. Finding elements
  5. Actions
  6. Interacting with elements on webpage
  7. Function flows
  8. Integration with Cucumber and Ruby

Reviews