Skip to content

Get specs unused-steps

get specs unused-steps - Detect unused godog step definitions

The get specs unused-steps command scans step definition files in go/eac/specs/impl/ and compares them against feature files in specs/ to find step definitions that are not matched by any Gherkin step. This helps identify dead code and maintain a clean test codebase. Shared steps from go/eac/specs/internal/steps.go are checked against all pairs.

Flags

Flag Description
-v, --verbose (default: false) Show detailed output including all scanned files
-m, --module Only analyze a specific module (e.g., eac-commands)

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.