{"id":37583205,"url":"https://github.com/zpbappi/gulp-chutzpah","last_synced_at":"2026-01-16T09:44:06.662Z","repository":{"id":57257035,"uuid":"49692430","full_name":"zpbappi/gulp-chutzpah","owner":"zpbappi","description":"A gulp plugin to run javascript tests using Chutzpah test runner","archived":false,"fork":false,"pushed_at":"2018-03-08T03:47:09.000Z","size":20,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T10:16:53.218Z","etag":null,"topics":["chutzpah","chutzpah-test-runner","gulp-plugins","javascript-tests","test-runner"],"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/zpbappi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-15T02:56:40.000Z","updated_at":"2021-09-05T06:19:38.000Z","dependencies_parsed_at":"2022-08-25T02:30:17.045Z","dependency_job_id":null,"html_url":"https://github.com/zpbappi/gulp-chutzpah","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zpbappi/gulp-chutzpah","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpbappi%2Fgulp-chutzpah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpbappi%2Fgulp-chutzpah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpbappi%2Fgulp-chutzpah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpbappi%2Fgulp-chutzpah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zpbappi","download_url":"https://codeload.github.com/zpbappi/gulp-chutzpah/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpbappi%2Fgulp-chutzpah/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chutzpah","chutzpah-test-runner","gulp-plugins","javascript-tests","test-runner"],"created_at":"2026-01-16T09:44:03.595Z","updated_at":"2026-01-16T09:44:06.641Z","avatar_url":"https://github.com/zpbappi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-chutzpah [![Build Status](https://travis-ci.org/zpbappi/gulp-chutzpah.svg?branch=master)](https://travis-ci.org/zpbappi/gulp-chutzpah)\nA gulp plugin to run javascript tests using Chutzpah test runner\n\n## Installation\n\n```sh\nnpm install gulp-chutzpah\n```\n\n## Usage\n\n### ...with the test files\n\n```node\nvar gulp = require(\"gulp\"),\n    chutzpah = require(\"gulp-chutzpah\");\n\nvar opts = {\n    executable: \"/path/to/chutzpah.console.exe\"\n};\n\ngulp.task(\"test\", function(){\n    gulp.src(\"./tests/*.js\")\n    .pipe(chutzpah(opts));\n});\n```\n\n### ...with chutzpah settings file\n\n```node\nvar gulp = require(\"gulp\"),\n    chutzpah = require(\"gulp-chutzpah\");\n\nvar opts = {\n    executable: \"/path/to/chutzpah.console.exe\",\n    isSettingsFile: true\n};\n\ngulp.task(\"test\", function(){\n    gulp.src(\"/path/to/chutzpah-settings.json\")\n    .pipe(chutzpah(opts));\n});\n```\n\n### ...with exec options (optional)\n```node\nvar opts = {\n    executable: \"/path/to/chutzpah.console.exe\"\n    // other options\n};\n\nvar execOptions = {\n    encoding: 'utf8',\n    timeout: 0,\n    maxBuffer: 200 * 1024\n    // other exec options\n}\n\ngulp.task(\"test\", function(){\n    gulp.src(\"/my/test/files.extention\")\n    .pipe(chutzpah(opts, execOptions));\n});\n```\n\n## Options\n\nThe options object must have a property named `executable`, which is the location of \nyour chutzpah console executable file. Usually, it is `chutzpah.console.exe`.\n\nYou can optionally supply any of the [chutzpah command line options](https://github.com/mmanela/chutzpah/wiki/command-line-options), except `path`. \n\nHere are the options again with their default values:\n\n- `executable` : __Required__. \"/path/to/chutzpah.console.exe\".\n- `isSettingsFile` : __Conditionally required__. Must set to `true` when using chutzpah settings files to specify test files and/or other settings. Detail about the json settings file can be found [here](https://github.com/mmanela/chutzpah/wiki/Chutzpah.json-Settings-File). *Important:*  when this value is set to `true`, all other settings are ignored (except of course, executable). Default is `false`. \n- `nologo` : Do not show the copyright message. Default is `false`.\n- `silent` : Do not output running test count. Default is `false`.\n- `teamcity` : Forces TeamCity mode (normally auto-detected). Default is `false`.\n- `wait` : Wait for input after completion. Default is `false`.\n- `failOnError` : Return a non-zero exit code if any script errors or timeouts occurs. Default is `false`.\n- `debug` : Print debugging information and tracing to console. Default is `false`.\n- `trace` : Logs tracing information to chutzpah.log. Default is `false`.\n- `openInBrowser` : Launch the tests in a browser. Default is `false`. Set `true` to launch in default browser. \nYou can also set it to your desired browser name like `\"IE\"`, `\"Firefox\"` or `\"Chrome\"`.\n- `parallelism` : Max degree of parallelism for Chutzpah. Default is `false`. Set it any number you want. \nYou can also set it to `true`, which will be treated as `number of CPUs + 1`. Note that, if it set to more than 1, the test output may be a bit jumbled.\n- `vsoutput` : Print output in a format that the VS error list recognizes. Default is `false`.\n- `coverage` : Enable coverage collection. Default is `false`.\n- `showFailureReport` : Show a failure report after the test run. Usefull if you have a large number of tests. Default is `false`.\n- `settingsFileEnvironment` : Sets the environment properties for a chutzpah.json settings file. Default is `\"\"`. \nSpecify more than one to add multiple environments. Example value: `\"settingsFilePath;prop1=val1;prop2=val2\"`.\n- `junit` : output results to JUnit-style XML file. Default is `\"\"`. Set a file path to generate the file.\n- `lcov` : outputs results as LCOV data for further processing. Default is `\"\"`. Set a file path to generate the file.\n- `trx` : output results to Visual Studio Trx file. Default is `\"\"`. Set a file path to generate the file. \n- `nunit2` : output results to NUnit-style XML file. Default is `\"\"`. Set a file path to generate the file.\n- `coveragehtml` : Outputs default Chutzpah coverage HTML. Default is `\"\"`. Set a file path to generate the file.\n\n## Exec Options\n\nThis is optional second parameter to `chutzpah()`. Default options can be found [here](https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpbappi%2Fgulp-chutzpah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzpbappi%2Fgulp-chutzpah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpbappi%2Fgulp-chutzpah/lists"}