{"id":13711479,"url":"https://github.com/trentrand/cypress-utils","last_synced_at":"2026-01-12T05:45:40.848Z","repository":{"id":37868311,"uuid":"256899996","full_name":"trentrand/cypress-utils","owner":"trentrand","description":"⚙  Easily parallelize and stress-test your Cypress tests","archived":false,"fork":false,"pushed_at":"2022-09-21T04:54:13.000Z","size":25494,"stargazers_count":25,"open_issues_count":6,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-24T02:32:33.461Z","etag":null,"topics":["command-line-tool","cypress","nodejs","stress-testing"],"latest_commit_sha":null,"homepage":"","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/trentrand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-19T02:50:15.000Z","updated_at":"2025-01-06T06:30:10.000Z","dependencies_parsed_at":"2022-08-18T07:16:21.276Z","dependency_job_id":null,"html_url":"https://github.com/trentrand/cypress-utils","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/trentrand/cypress-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trentrand%2Fcypress-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trentrand%2Fcypress-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trentrand%2Fcypress-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trentrand%2Fcypress-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trentrand","download_url":"https://codeload.github.com/trentrand/cypress-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trentrand%2Fcypress-utils/sbom","scorecard":{"id":898094,"data":{"date":"2025-08-11","repo":{"name":"github.com/trentrand/cypress-utils","commit":"679e772b88736b7dd2450b08b73d78ca0eb1d204"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 3/12 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.0.0 not signed: https://api.github.com/repos/trentrand/cypress-utils/releases/77727233","Warn: release artifact v2.3.0 not signed: https://api.github.com/repos/trentrand/cypress-utils/releases/53060916","Warn: release artifact v2.2.1 not signed: https://api.github.com/repos/trentrand/cypress-utils/releases/51510213","Warn: release artifact v2.1.0 not signed: https://api.github.com/repos/trentrand/cypress-utils/releases/41030239","Warn: release artifact v2.0.1 not signed: https://api.github.com/repos/trentrand/cypress-utils/releases/38404829","Warn: release artifact v3.0.0 does not have provenance: https://api.github.com/repos/trentrand/cypress-utils/releases/77727233","Warn: release artifact v2.3.0 does not have provenance: https://api.github.com/repos/trentrand/cypress-utils/releases/53060916","Warn: release artifact v2.2.1 does not have provenance: https://api.github.com/repos/trentrand/cypress-utils/releases/51510213","Warn: release artifact v2.1.0 does not have provenance: https://api.github.com/repos/trentrand/cypress-utils/releases/41030239","Warn: release artifact v2.0.1 does not have provenance: https://api.github.com/repos/trentrand/cypress-utils/releases/38404829"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T14:29:57.734Z","repository_id":37868311,"created_at":"2025-08-24T14:29:57.734Z","updated_at":"2025-08-24T14:29:57.734Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["command-line-tool","cypress","nodejs","stress-testing"],"created_at":"2024-08-02T23:01:08.715Z","updated_at":"2026-01-12T05:45:40.823Z","avatar_url":"https://github.com/trentrand.png","language":"JavaScript","readme":"# Cypress Utils\n\n#### Easily parallelize and stress-test your Cypress tests\n\nCypress Utils is a command-line interface for parallelizing and stress-testing your Cypress tests.\n\nTo get started, just run `npx cypress-utils --help`.\n\n## Commands\n\n### Run tests in parallel\n\nTo speed up day-to-day local Cypress test runs (e.g. before committing changes to a branch), multiple Cypress test runners can be ran in parallel.\nThe impact on system resources is surprisingly manageable, even with multiple concurrent runners.\n\nIn my unscientific n=1 sample size of running an entire suite, specifying two concurrent test runners provided the best results.\n\n\u003e The total elapsed time was reduced by 38% when running a set of 12 tests in two concurrent threads\n\nTo run the entire suite in parallel, exclude any additional command-line arguments:\n\n  ```shell\n    cypress-utils run-parallel\n  ```\n\nUse the command-line option `excludeSpecPattern` to exclude specific files.\n\n  ```shell\n    cypress-utils run-parallel --excludeSpecPattern *.hot-update.js\t\n  ```\n\nTo run two or more specific test files in parallel, just specify the files to run:\n\n  ```shell\n    cypress-utils run-parallel specFileA.cy.js specfileB.cy.js\n  ```\n\n\u003e See more command-line options with `cypress-utils run-parallel --help`\n\n#### Example of running tests in parallel:\n![Example of running the run parallel command](assets/run-parallel-example.gif)\n\n### Stress test\n\nTo ensure your Cypress tests are not irregularly failing with false-negatives, stress testing new test files can be a reliable way of filtering out bad test code.\n\nTo stress test one or more test files, simply specify the files to run:\n\n  ```shell\n    cypress-utils stress-test specFileA specfileB\n  ```\n\nAdditional command-line options may be specified, such as the sample size or number of concurrent threads:\n  ```shell\n   cypress-utils stress-test --trialCount 12 --threads 4\n  ```\n\n\u003e See more command-line options with `cypress-utils stress-test --help`\n\n#### Example of stress testing:\n![Example of running the stress test command](assets/stress-test-example.gif)\n\n## Installation\n\nInstall Cypress Utils to your project as a development dependency:\n\n  ```shell\n  npm install --save-dev cypress-utils\n  ```\n\nOr run it once with the node package runner:\n\n  ```shell\n  npx cypress-utils --help\n  ```\n\n## Development Setup\n\n1. Clone the repository:\n\n  ```shell\n  git clone https://github.com/trentrand/cypress-utils.git\n  ```\n\n2. Install package dependencies:\n\n  ```shell\n  cd /path/to/cypress-utils\n  npm install\n  ```\n\n3. Make `cypress-utils` globally executable:\n\n  ```shell\n  npm link\n  ```\n\nCypress Utils are now executable globally with the command `cypress-utils`.\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrentrand%2Fcypress-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrentrand%2Fcypress-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrentrand%2Fcypress-utils/lists"}