Skip to content

[Feature Request] Add CodeLens "Run / Debug" at the Feature level in .feature files #8

Description

@hakanngul

💡 Feature Description

Currently, CodeLens provides Run and Debug action buttons directly above each Scenario: or Scenario Outline: in *.feature files.

However, there is no CodeLens action button at the top of the file above the Feature: header to execute or debug the entire feature file (all scenarios within the file) in a single click.

🎯 Proposed Solution

Add Run | Debug CodeLens buttons above the Feature: declaration line in .feature files:

Run | Debug  <-- (Proposed CodeLens buttons here)
Feature: User Authentication and Login
  As a user...

  Run | Debug
  Scenario: Successful login with valid credentials
    Given the user is on the login page
    ...

✨ Expected Behavior

  • Clicking Run above Feature: executes all scenarios inside that specific feature file.
  • Clicking Debug above Feature: starts the debugger for all scenarios in that feature file.

💻 Environment

  • Extension Name: Cucumber Test Runner for Java (arunkris.cucumber-java-test-runner)
  • Extension Version: 0.2.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions