bdd-steps

Generate Python step definitions for Behave BDD tests with Databricks services.

38|12|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/databrickslabs/coding-agents-databricks-apps --skill bdd-steps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bdd-steps
Source: https://github.com/databrickslabs/coding-agents-databricks-apps/tree/main/.claude/skills/bdd-steps
Command: npx skills add https://github.com/databrickslabs/coding-agents-databricks-apps --skill bdd-steps

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the tedious, error-prone work of manually writing Python step definitions for Behave BDD tests that interact with Databricks services, reducing development time and ensuring consistent, maintainable test code across Databricks automation projects.

Core Features & Use Cases

  • Databricks Service Integration: Provides pre-built step patterns for Unity Catalog, Lakeflow Pipelines, Databricks Jobs, Apps, and SQL execution using the official Databricks SDK.
  • Reusable Step Library: Includes a comprehensive reference library of proven, production-ready step definitions for common Databricks test scenarios, eliminating duplicate code across test suites.
  • Use Case: For example, if you have a Gherkin feature file testing pipeline permission workflows, this Skill automatically generates the corresponding Python step code to create pipelines, grant privileges, and verify access rules.

Quick Start

Use the bdd-steps skill to generate Python step definitions for all undefined Given/When/Then steps in your Databricks BDD test feature files, following the included best practices for typing, assertions, and async operation handling.

Frequently Asked Questions about bdd-steps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Python step definitions for Behave BDD tests interacting with Databricks?

To generate Python step definitions for Behave BDD tests, use this Skill to automatically create typed step implementations that follow Databricks SDK best practices for Unity Catalog, Lakeflow Pipelines, and SQL execution. It eliminates manual coding by instantly providing production-ready step definitions.

What is the best way to automate Databricks test step generation for Gherkin feature files?

The best way to automate Databricks test step generation is to parse Gherkin feature files and automatically output the corresponding Python step code. This approach ensures consistent, typed implementations with diagnostic assertion messaging and async operation polling.

Can I use Behave BDD with Databricks Unity Catalog permissions and Lakeflow Pipelines?

Yes, you can use Behave BDD with Databricks Unity Catalog permissions and Lakeflow Pipelines. The Skill provides pre-built step patterns specifically covering these services, allowing you to test pipeline permission workflows by automatically generating code to grant and verify access rules.

Do I need to manually implement async operation polling and timeouts for Databricks BDD tests?

You do not need to manually implement async operation polling and timeouts for Databricks BDD tests. The generated Python step definitions natively include async operation polling with configurable timeouts, ensuring robust test execution for long-running Databricks Jobs and pipelines.

Does this approach support maintaining existing Databricks Behave test suites?

Yes, this approach fully supports maintaining existing Databricks Behave test suites. It generates Python step definitions for undefined Given, When, and Then steps in your current feature files, ensuring new tests follow established Databricks SDK best practices without rewriting existing code.

What limitations exist when generating step definitions for Databricks Apps and SQL execution?

Limitations when generating step definitions for Databricks Apps and SQL execution include reliance on the official Databricks SDK patterns provided within the reference components. The generated steps target specific Databricks services and require your test environment to support the underlying Python Behave framework.