Skip to content

bitovi/nx-cucumber-plugin

Repository files navigation

Cucumber Nx Plugin

Description

The Nx Plugin for Cucumber contains executors and generators allowing your workspace to use the powerful Cucumber integration testing capabilities.

Generates a Cucumber project that doesn't have a dependency for any assertion library. This provides flexibility for developers choose whatever assertion library they want to use. This allows for frictionless integration with end-to-end testing libraries such as Playwright.

Contributing

Before adding any new feature or a fix, make sure to open an issue first :)

  1. Make sure to use the expected node/npm versions
node -v # v14.20.0
npm -v # 6.14.17

If you have the wrong versions, I suggest using nvm or volta for node version management.

  1. Clone the project and install dependencies
git clone https://github.com/bitovi/nx-cucumber-plugin.git
npm install
  1. Create a new branch
git checkout -b feature/some-feature
  1. Add tests and make sure tests pass
npm run test # both jest and e2e tests

or

npm run test:demo # only demo
npm run test:lib # only ngx-feature-flag-router lib

You can also run unit and e2e tests separately

npm run jest # only jest tests
npm run e2e # only e2e tests
  1. commit -> push -> create a pull request 🚀

npm commands

npm run format # Use Nx formatter to format project
npm run build # Create a production build of Plugin located in dist directory. Used for publishing
npm run jest # Executes Jest unit tests for executers and generators
npm run e2e # Executes Jest e2e tests for Cucumber Nx plugin by creating a temporary Nx workspace
npm run test # Executes Jest unit and e2e tests for Cucumber Nx plugin

Nx

This project was generated using Nx.

🔎 Smart, Fast and Extensible Build System

Resources

Create an Nx Plugin - Steps to create an Nx plugin, write generators, executors, testing, and adding assets.

Publish an Nx Plugin - Steps to build, publish, and add to Nx Plugin listings.

Nx Plugin Directory - collection of published Nx Plugins.

  1. @nrwl/cypress
  2. nx-plugins/nx-jest-playwright
  3. @nrwl/jest

About

No description, website, or topics provided.

Resources

License

CC0-1.0, MIT licenses found

Licenses found

CC0-1.0
LICENSE
MIT
LICENCE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages