{"id":13623324,"url":"https://github.com/shama/testron","last_synced_at":"2026-02-26T07:44:14.511Z","repository":{"id":66019307,"uuid":"39416997","full_name":"shama/testron","owner":"shama","description":":electric_plug: CI your client side tests with Electron","archived":false,"fork":false,"pushed_at":"2018-06-29T17:14:39.000Z","size":13,"stargazers_count":71,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-09T03:11:33.722Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-07-21T01:24:26.000Z","updated_at":"2023-08-19T07:49:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"eebf0cd6-f570-4be6-bc40-913b6b0d13c4","html_url":"https://github.com/shama/testron","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.032258064516129004","last_synced_commit":"961d63286fe056816adf4f4d7628070118b0bf62"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/shama/testron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shama%2Ftestron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shama%2Ftestron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shama%2Ftestron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shama%2Ftestron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shama","download_url":"https://codeload.github.com/shama/testron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shama%2Ftestron/sbom","scorecard":{"id":815567,"data":{"date":"2025-08-11","repo":{"name":"github.com/shama/testron","commit":"961d63286fe056816adf4f4d7628070118b0bf62"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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 2 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"}}]},"last_synced_at":"2025-08-23T14:12:08.786Z","repository_id":66019307,"created_at":"2025-08-23T14:12:08.786Z","updated_at":"2025-08-23T14:12:08.786Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29851728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"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":[],"created_at":"2024-08-01T21:01:30.371Z","updated_at":"2026-02-26T07:44:14.497Z","avatar_url":"https://github.com/shama.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# testron\nCI your client side tests with Electron\n\n[![build status](https://secure.travis-ci.org/shama/testron.svg)](https://travis-ci.org/shama/testron)\n[![NPM version](https://badge.fury.io/js/testron.svg)](https://badge.fury.io/js/testron)\n[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges)\n\n# about\nThis uses [Electron](https://github.com/atom/electron) to run tests in\n[Chromium](http://www.chromium.org/).\n\n# usage\n\n* Install to your project: `npm install testron --save-dev`\n* Install Electron: `npm install electron-prebuilt --save-dev`\n* Add a `test` script to your `package.json`:\n```json\n{\n  \"name\": \"my-project\",\n  \"scripts\": {\n    \"test\": \"testron test/client.js\"\n  },\n}\n```\n* Run `npm test` to run the test script in Electron\n\n## writing tests\nCurrently this only supports TAP. Here is an example test written using [tape](https://www.npmjs.com/package/tape):\n\n```js\nvar test = require('tape')\n\ntest('test this', function (t) {\n  t.plan(1)\n  var ul = document.createElement('ul')\n  var li = document.createElement('li')\n  ul.appendChild(li)\n  li.textContent = 'it works'\n  t.equal(ul.outerHTML, '\u003cul\u003e\u003cli\u003eit works\u003c/li\u003e\u003c/ul\u003e')\n  t.end()\n})\n```\n\nIt is recommended bundling your tests and piping to `testron`:\n\n```json\n{\n  \"name\": \"my-project\",\n  \"scripts\": {\n    \"test\": \"browserify test/client.js | testron\"\n  },\n}\n```\n\n## travis-ci integration\nAdd a `.travis.yml` file to your project:\n\n```yml\nlanguage: node_js\nnode_js:\n  - 'iojs'\nbefore_script:\n  - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start\n```\n\n## API\nThere is also an API:\n\n```js\nvar testron = require('testron')\nvar tests = testron('test/client.js')\ntests.stdout.on('data', function (data) {\n  console.log('line: ' + data.toString())\n})\ntests.on('exit', function () {\n  console.log('Tests are done!')\n})\n```\n\n## similar projects\nThese are similar projects that also (can) use Electron for testing:\n\n* [hihat](https://github.com/Jam3/hihat)  \n  small tool for running browser tests locally\n* [zuul](https://github.com/defunctzombie/zuul)  \n  multi-framework javascript browser testing\n\n# license\n(c) 2018 Kyle Robinson Young. MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshama%2Ftestron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshama%2Ftestron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshama%2Ftestron/lists"}