1.0.7 • Published 3 years ago

@caw-studios/cypressinstaller v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@caw-studios/cypressinstaller

@caw-studios/cypressinstaller is a command line tool that installs Cypress and other dependencies for your front-end framework (Angular, React and vue js 3).

Installation

Use the package manager npm to install @caw-studios/cypressinstaller.

npm i -D @caw-studios/cypressinstaller

Usage

npx @caw-studios/cypressinstaller

This command line tool will:

  1. Prompts to install cypress ,its dependencies and add necessary files for cypress.
  2. Prompts to uninstall protractor (Angular).
  3. Prompts to install concurrently.
  4. Prompts to install component testing (React).
  5. Prompts to install code coverage.
  6. Prompts to install Mocha Report.

Scripts

  1. Opens Cypress test runner npm run cy:open
  2. Executes tests in headless mode npm run cy:run
  3. Executes component tests in headless mode npm run ct:run
  4. Opens Cypress test runner for Component test npm run ct:open
  5. To generate a HTML report after you run the test. Run npm run generate:html:report
  6. To remove mocha HTML report . Run npm run remove-reports

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago