表现精彩 - Python BDD 要点
Behave Brilliance - Python BDD Essentials
- 1. Introduction
- 1. Introduction
- 2. What is BDD
- 3. Why use BDD
- 5. Python Behave Framework
- 2. Setting Up the Environment
- 2. Installing Python
- 3. Why an IDE
- 4. Installing VSCode
- 5. What is Virtual Env
- 6. Creating a Virtual Env
- 3. Behave BDD 101
- 1. Gherkin syntax
- 3. Demo Write First Test & Execute
- 4. Behave Project structure
- 5. Behave Feature, Scenario & Steps
- 6. Behave Steps - AND, BUT
- 7. About Step Definition Function
- 8. Step Definition Function Implementation
- 4. Assertions & Test Discovery
- 1. Test Assertions(13)
- 2. Test Assertions(23)
- 3. Test Assertions(33)
- 5. Running Behave Tests(12)
- 6. Running Behave Tests(22)
- 5. Step Parameter and Context Var
- 1. Using Step Parameters
- 2. Step Matchers(13)
- 3. Step Matchers(23)
- 4. Step Matchers(33)
- 5. Parse Custom DataType(12)
- 6. Parse Custom DataType(22)
- 7. About Background
- 8. About Context Variable
- 9. Context Variable Demo
- 10. About Context Var Scope
- 11. Context Var Scope Demo
- 6. Data Tables & Scenario Outlines
- 1. About Behave DataTables
- 2. Data Tables Demo(12)
- 3. Data Tables Demo(22)
- 4. About Scenario Outline
- 5. Scenario Outline Demo
- 6. Using Tags