{"repo":"ekino/veggies","free":true,"listed":false,"github":"https://github.com/ekino/veggies","clone":"git clone https://github.com/ekino/veggies.git","description":":sparkles: :rocket: Veggies is an awesome cucumberjs library for API/CLI testing. Great for testing APIs built upon Express, Koa, HAPI, Loopback and others. It's also the perfect companion for testing CLI applications built with commander, meow & Co.","language":"TypeScript","stars":91,"topics":["bdd","cucumberjs","testing","gherkin","api","http-client","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"[![NPM version][npm-image]][npm-url] [![Github CI][ci-image]][ci-url] [![Coverage Status][coverage-image]][coverage-url] [![Watch on GitHub][github-watch-badge]][github-watch] [![Star on GitHub][github-star-badge]][github-star] [![Tweet][x-badge]][x] Veggies is an awesome cucumberjs library for API/CLI testing. Great for testing APIs built upon Express, Koa, HAPI, Loopback and others. It's also the perfect companion for testing CLI applications. - Requirements - Installation - CLI - Features - API testing - Making a simple request - Posting data - Posting data using fixture file - Using values issued by a previous request - Using cookies - Testing json response - Testing response headers - Debugging failing API tests - Type system - CLI testing - Running a simple command - Testing a command error - File System testing - Testing file content - Snapshot testing - API Snapshot testing - CLI Snapshot testing - File Snapshot testing - Extensions - state install gherkin expressions low level API - fixtures install low level API - http API install gherkin expressions low level API - CLI install gherkin expressions low level API - fileSystem install gherkin expressions low level API - snapshot install low level API - Helpers - cast usage add a type - Examples Requirements - Node.js =18.0 - cucumber =11.0 - pnpm =10.0 Installation Then all you have to do is installing the provided extensions: CLI Veggies provides a simple CLI allowing the use of custom options to configure the feature","default_branch":null,"files":null,"tree":[],"storefront":"/r/ekino","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ekino/veggies/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}