All Projects → RamirezAlex → cygger

RamirezAlex / cygger

Licence: other
Boilerplate generator for API Testing from Swagger to Cypress

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cygger

cypress-page-object
Represent the screens of your website as a series of objects in your Cypress test suite
Stars: ✭ 23 (+15%)
Mutual labels:  e2e, cypress
cypress-upload-file-post-form
Solution for two Cypress testing use-cases I came across with: perform a direct http FORM request to the server containing a file and other parameters and upload a file into a form before submission
Stars: ✭ 59 (+195%)
Mutual labels:  api-testing, cypress
cypress-maildev
Cypress Maildev is a bunch of Cypress commands in order to test your messages (SMS and Emails) by using Maildev REST API.
Stars: ✭ 19 (-5%)
Mutual labels:  e2e, cypress
odoo-cypress
Odoo Framework E2E Testing using Cypress
Stars: ✭ 19 (-5%)
Mutual labels:  e2e, cypress
Recorder
A browser extension that generates Cypress, Playwright and Puppeteer test scripts from your interactions 🖱 ⌨
Stars: ✭ 277 (+1285%)
Mutual labels:  e2e, cypress
cypress-xhr-responses-recording
No description or website provided.
Stars: ✭ 19 (-5%)
Mutual labels:  e2e, cypress
cypress-browser-permissions
A Cypress plugin to set launched browser preferences including permissions like Geolocation, Notifications, Microphone, etc.
Stars: ✭ 40 (+100%)
Mutual labels:  e2e, cypress
babel-plugin-remove-test-ids
🐠 Babel plugin to strip `data-test-id` HTML attributes
Stars: ✭ 40 (+100%)
Mutual labels:  e2e, cypress
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+69780%)
Mutual labels:  e2e
next-ts-starter
A Next.JS powered Typescript starter with styled components, styled-system, framer motion, jest and cypress
Stars: ✭ 27 (+35%)
Mutual labels:  cypress
Dappeteer
🏌🏼‍E2E testing for dApps using Puppeteer + MetaMask
Stars: ✭ 117 (+485%)
Mutual labels:  e2e
Kakunin
An E2E testing framework
Stars: ✭ 141 (+605%)
Mutual labels:  e2e
playwright-ci
☁️ Set up Playwright in CI
Stars: ✭ 27 (+35%)
Mutual labels:  e2e
Cypress React Selector
⚡️ cypress plugin to locate react elements by component, props and state
Stars: ✭ 121 (+505%)
Mutual labels:  e2e
portman
Port OpenAPI Specs to Postman Collections, inject test suite and run via Newman 👨🏽‍🚀
Stars: ✭ 530 (+2550%)
Mutual labels:  api-testing
Sakuli
Sakuli is an end-2-end testing and monitoring tool for web sites and common UIs with multiple monitoring integrations
Stars: ✭ 115 (+475%)
Mutual labels:  e2e
Cypress Svelte Unit Test
Unit testing Svelte components in Cypress E2E test runner
Stars: ✭ 110 (+450%)
Mutual labels:  e2e
playwright-demos
playwright for scrapping and UI testing / automate testing workflows
Stars: ✭ 65 (+225%)
Mutual labels:  e2e
react-cypress-demo
Демонстрация работы библиотеки cypress.io
Stars: ✭ 17 (-15%)
Mutual labels:  cypress
Pending Xhr Puppeteer
Small tool to wait that all xhr are finished in puppeteer
Stars: ✭ 227 (+1035%)
Mutual labels:  e2e

cygger

cygger is CLI tool that generates boilerplate for API testing with cypress.io out of a swagger.io file.

Install

$ npm install cygger -g

or

$ yarn global add cygger

Usage

$ npx cygger [options] <swagger-file>

This is a Work in Progress tool, some issues are expected.

$ cygger -h

Usage: cygger [options] <SwaggerFile>

Options:
  -v, --version                  Output the current version
  -U --baseURL <baseURL>         Host of the Swagger server
  -o --output-dir <outputDir>    Output directory to save the Cypress spec file
  -s --silent                    Silent mode: it does not show the genereted test in the console
  -t --token-param <tokenParam>  Param that will represent the access token - WIP
  -l --login-path <loginPath>    Authorization path endpoint  - WIP
  -u --user <user>               Username to login  - WIP
  -p --pass <pass>               Password to login - WIP
  -h, --help                     output usage information
$ cygger examples/todo.yml -o cypress/integration --baseURL http://localhost:3000

// Reads the Swagger file todo.yml and create todo.spec.js Cypress test in cypress/integration directory

To Do

  • Support for Swagger 2.0
  • Support for OpenAPI 3.0
  • Support JSON/YAML swagger files(.json/.yaml/.yml).
  • Support for authentication
  • Support for setup and teardown
  • Support for multiple Swagger files
  • Onile tool

License

The MIT License

Copyright (c) 2019 Alex Ramirez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].