{"id":13583295,"url":"https://github.com/brainhubeu/cucumber-steps","last_synced_at":"2025-06-15T00:06:41.101Z","repository":{"id":37924829,"uuid":"95119867","full_name":"brainhubeu/cucumber-steps","owner":"brainhubeu","description":"🥒 Quick start for testing with Cucumber.js","archived":false,"fork":false,"pushed_at":"2025-06-09T15:09:03.000Z","size":640,"stargazers_count":15,"open_issues_count":26,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-11T09:56:32.749Z","etag":null,"topics":["chai","cucumber","cucumber-framework","cucumber-js","cucumber-steps","cucumber-tests","cucumberjs","mocha","sinon","superagent","testing-practices","testing-tools"],"latest_commit_sha":null,"homepage":"https://brainhub.eu/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainhubeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-22T13:42:36.000Z","updated_at":"2021-11-24T16:57:29.000Z","dependencies_parsed_at":"2024-01-20T08:25:38.531Z","dependency_job_id":"ab2fd691-3775-44d0-9ed8-eaa97fe00f31","html_url":"https://github.com/brainhubeu/cucumber-steps","commit_stats":{"total_commits":160,"total_committers":12,"mean_commits":"13.333333333333334","dds":0.5875,"last_synced_commit":"9d3c572b8a699a902baf2a840c78606853c54622"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brainhubeu/cucumber-steps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainhubeu%2Fcucumber-steps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainhubeu%2Fcucumber-steps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainhubeu%2Fcucumber-steps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainhubeu%2Fcucumber-steps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainhubeu","download_url":"https://codeload.github.com/brainhubeu/cucumber-steps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainhubeu%2Fcucumber-steps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901382,"owners_count":22929224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chai","cucumber","cucumber-framework","cucumber-js","cucumber-steps","cucumber-tests","cucumberjs","mocha","sinon","superagent","testing-practices","testing-tools"],"created_at":"2024-08-01T15:03:23.136Z","updated_at":"2025-06-15T00:06:41.071Z","avatar_url":"https://github.com/brainhubeu.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cbr/\u003e\n\u003ch1 align=\"center\"\u003e\n  cucumber-steps\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Quick start for testing with cucumber\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\n    \u003ca href=\"https://brainhub.eu/contact/\"\u003eHire us\u003c/a\u003e\n  \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![CircleCI](https://circleci.com/gh/brainhubeu/cucumber-steps.svg?style=svg)](https://circleci.com/gh/brainhubeu/cucumber-steps)\n  [![Last commit](https://img.shields.io/github/last-commit/brainhubeu/cucumber-steps.svg)](https://github.com/brainhubeu/cucumber-steps/commits/master)\n  [![license](https://img.shields.io/npm/l/@brainhubeu/cucumber-steps.svg)](https://github.com/brainhubeu/cucumber-steps/blob/master/LICENSE)\n  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n  [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)\n\n  [![Downloads](https://img.shields.io/npm/dm/@brainhubeu/cucumber-steps?color=blue)](https://www.npmjs.com/package/@brainhubeu/cucumber-steps)\n  [![Activity](https://img.shields.io/github/commit-activity/m/brainhubeu/cucumber-steps.svg)](https://github.com/brainhubeu/cucumber-steps/commits/master)\n  [![Minified](https://img.shields.io/bundlephobia/min/@brainhubeu/cucumber-steps?label=minified)](https://www.npmjs.com/package/@brainhubeu/cucumber-steps)\n  [![npm](https://img.shields.io/npm/v/@brainhubeu/cucumber-steps.svg)](https://www.npmjs.com/package/@brainhubeu/cucumber-steps)\n  [![Contributors](https://img.shields.io/github/contributors/brainhubeu/cucumber-steps?color=blue)](https://github.com/brainhubeu/cucumber-steps/graphs/contributors)\n\u003c/div\u003e\n\n# Getting started\nInstall library\n\nwith npm: `npm i --save-dev @brainhubeu/cucumber-steps`\n\nor with yarn: `yarn add --dev @brainhubeu/cucumber-steps`\n\nAdd following in anywhere in your `step-definitions` directory\n```js\nimport { defineSupportCode } from 'cucumber';\nimport stepsSupport from '@brainhubeu/cucumber-steps';\n\ndefineSupportCode(stepsSupport);\n```\n# Available steps\n#### Setting headers\n```\nGiven I set header \"heder-name\" with value \"header-value\"\n```\n\n#### Sending request\n```\nWhen I send a \"METHOD\" request to \"/path\"\n```\n\n#### Sending request with body\n```\nWhen I send a \"METHOD\" request to \"/path\" with body:\n  \"\"\"\n  {\n    \"name\": \"Wonderful coffee\",\n    \"project\": {\n      \"name\": \"Coffee\"\n    }\n  }\n  \"\"\"\n```\n\n#### Chcking response code\n```\nThen the response code should be 111\n```\n\n#### Checking response body\n```\nThen the JSON should match pattern\n  \"\"\"\n  {\n    \"name\": \"Wonderful coffee\",\n    \"project\": {\n      \"name\": \"Coffee\"\n    }\n  }\n  \"\"\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainhubeu%2Fcucumber-steps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainhubeu%2Fcucumber-steps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainhubeu%2Fcucumber-steps/lists"}