{"id":32517238,"url":"https://github.com/mrmurphy/mochahq","last_synced_at":"2025-10-28T02:54:30.634Z","repository":{"id":57299991,"uuid":"56329248","full_name":"mrmurphy/mochahq","owner":"mrmurphy","description":"A GUI for easily running your mocha tests","archived":false,"fork":false,"pushed_at":"2020-09-04T22:24:10.000Z","size":81,"stargazers_count":17,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T09:29:10.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","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/mrmurphy.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":"2016-04-15T15:11:48.000Z","updated_at":"2022-01-31T00:55:02.000Z","dependencies_parsed_at":"2022-09-01T09:20:37.250Z","dependency_job_id":null,"html_url":"https://github.com/mrmurphy/mochahq","commit_stats":null,"previous_names":["splodingsocks/mochahq"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mrmurphy/mochahq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fmochahq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fmochahq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fmochahq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fmochahq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmurphy","download_url":"https://codeload.github.com/mrmurphy/mochahq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fmochahq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281376665,"owners_count":26490317,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"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":"2025-10-28T02:54:29.529Z","updated_at":"2025-10-28T02:54:30.624Z","avatar_url":"https://github.com/mrmurphy.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RETIRED PROJECT\nSo sorry, this project is no longer maintained. Let me know if you'd like to take it over!\n\n# Mocha HQ\n\nA pleasant GUI interface for [Mocha](https://mochajs.org/)\n\n![screenshot 2016-04-16 11 31 57](https://cloud.githubusercontent.com/assets/1227109/14582589/eb13f8c4-03c6-11e6-94c8-af02a995e4de.png)\n\nIf you don't love:\n\n- Killing mocha and retyping `mocha -w -g \"\u003cblah\u003e\"` every time you want to change which test set is run\n- Killing mocha and changing your '.only' call every time you want to change which test set is run\n- Accidentally committing `.only`\n- Clearing your terminal before re-running your test suite\n\nYou might like MochaHQ\n\nIt purposes to beautify and speed up the running of select mocha tests.\n\nMochaHQ, when run in your project directory, will read your mocha.opts file,\nand automatically read all mocha tests specified therein.\n\nThose tests will be listed on the left sidebar, and allow you to easily run any of your\nsuites, or individual tests.\n\nMochaHQ runs mocha in the background in `watch` mode, so your tests should automatically re-run when\nyou change a file. And the results should be sent to your browser right away.\n\nWhen you change test suites, (or change the match pattern by hand), the background\nMocha process will be terminated, and a new process will be launched with the new pattern.\n\n# Installation\n\n`npm install -g mochahq`\n\n# Usage\n\n`cd \u003cyour project directory\u003e; mochahq`\n\nMochaHQ will begin running, and the address on which it's serving will be\nprinted to the console.\n\n## Changing the Port\n\nIf you want to change the port MochaHQ uses, just set the\n`PORT` environment variable:\n\n`PORT=8780 cd \u003cyour project directory\u003e; mochahq`\n\n## Keybindings\n\nThe following keybindings are available:\n\n```\nh (or left arrow) - Display the parent test and its children in the sidebar\nj (or down arrow) - Highlight the next test in the sidebar\nk (or up arrow) - Highlight the previous test in the sidebar\nl (or right arrow) - Display the children of the highlighted test in the sidebar\n\u003center\u003e - Run the test that's highlighted in the sidebar\nshift-j : Scroll the test results down\nshift-k : Scroll the test results up\n```\n\n## Caveats\n\nMochaHQ is currently only supported in Chrome. Pull requests for support in other\nbrowsers are very welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmurphy%2Fmochahq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmurphy%2Fmochahq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmurphy%2Fmochahq/lists"}