When to Apply: Reference when writing Python BDD tests with Gherkin syntax, implementing step definitions in Python, or configuring environment hooks for lifecycle management. Triggers on "Behave", "Python BDD", "behave test", "Python feature file".
Playbook Deep Dive (10 sections): §1 Project Setup & Configuration · §2 Feature Files — Gherkin Patterns · §3 Step Definitions — Production Patterns · §4 Environment Hooks — Lifecycle · §5 Page Objects · §6 Fixtures & Test Data · §7 LambdaTest Integration · §8 CI/CD Integration · §9 Debugging Table · §10 Best Practices
The agent loads from 2 on-demand reference files (advanced-patterns.md, playbook.md) containing detailed implementation guides, cloud integration patterns, debugging tables, and language-specific best practices.