Skip to content

restqa/gherkin-linter-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gherkin-linter-action

A Github Action to parse and validate your feature files (gherkin / cucumber)

Usage

Based on the gherkin-lint library this action validate your feature files.

Since the feature files can be edited by any team member a linter is the minimum check you should add before running your test suites

If all your feature files are in a folder called tests, run it like this:

name: E2E Test

on: [push]

jobs:
  Gherkin-lint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: restqa/gherkin-linter-action@0.0.1
      with:
        path: 'test/'
        config_file: 'test/.gherkin-lintrc'

To specify some rule you can add the configuration file .gherkin-lintrc into your root folder. (see rules on the gherkin-lint library)

Do you know RestQa ?

Restqa is an open automation framework based on Gherkin. A few step and your Test automation framework is setup. No dependency the framework is ready to be plug to all your project components Give a try 🚀

References

Keywords

  • test automation
  • Gherkin
  • Cucumber
  • End to End
  • E2E
  • Quality assurance
  • QA
  • Continuous integration
  • RestQa