Building a Test Framework Using Cucumber-JVM
Introduction
BDD - The Basics
What?
Why?
How?
Getting Started
Understanding the Ecosystem
Programming Language
IDE
Style of Writing Tests
Browser API's
Build and Dependency Management Tool
Setup Machine
Download And Install
Get the Cucumber-jvm Plugin
Create The Test Project
Create a New Maven Project
Add project dependencies
Write Your First Test
Decide On A Test Scenario
Write The First Feature File
Decoding the feature file
Writing the Glue Code
Decoding the step class
Run The Test - See it fail !
Understanding Test Runners
Configure IntelliJ to Run Cucumber features
Run The Test - See it Pass
Runner Class
Runner options - Consolidated
Consolidate - Journey So far
Evolving The Framework - Page Object Pattern
Page Classes
Calling page objects from steps
Framework This Far
Evolving The Framework - Abstracting Element Locators
Element Identifiers - Some basics
Abstract Element Locators
Page Factory Pattern
Evolving The Framework - Structuring Step Classes
Creating the DriverFactory
Creating page level step classes
Consolidation - 2nd Milestone
Cucumber - More Details
Cucumber Tagging
Scenario tagging
Feature tagging
Tag Inheritance
Running cucumber tests based on tags
Data Driven Testing Using Cucumber
Cucumber - Background and Hooks
Understanding Background in Cucumber
Understanding Hooks
Scenario Hooks
Tagged Hooks
Cucumber - DataTables
Parsing DataTables - Type Transformation
Evolving The Framework - Driver Abstratction
Driver Usage - so far
DriverFactory - Create and Destroy
Driver Instance - With hooks
Driver Abstraction - Move it to a separate package
Evolving The Framework - Properties file
Property file - Type of Driver abstraction
Properties file - The reader class
Using the PropertyReader
Build Tools - Using maven to run tests
The junit way
Formatting options for test output
Powered by
GitBook
Runner options - Consolidated
Runner options - Consolidated
results matching "
"
No results matching "
"