{"id":20334949,"url":"https://github.com/mdb/nw-testing-box","last_synced_at":"2026-02-13T06:07:08.868Z","repository":{"id":32489764,"uuid":"36070270","full_name":"mdb/nw-testing-box","owner":"mdb","description":"A ready-to-go headless Ubuntu box for running NW.js unit and end-to-end tests via Xvfb","archived":false,"fork":false,"pushed_at":"2015-07-17T20:27:39.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T16:36:39.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/mdb.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}},"created_at":"2015-05-22T12:06:39.000Z","updated_at":"2015-12-11T13:50:15.000Z","dependencies_parsed_at":"2022-08-29T06:00:22.307Z","dependency_job_id":null,"html_url":"https://github.com/mdb/nw-testing-box","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fnw-testing-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fnw-testing-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fnw-testing-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fnw-testing-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/nw-testing-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241854619,"owners_count":20031467,"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":[],"created_at":"2024-11-14T20:38:41.705Z","updated_at":"2026-02-13T06:07:08.765Z","avatar_url":"https://github.com/mdb.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# nw-testing-box\n\nA ready-to-go headless Ubuntu box for running NW.js unit and end-to-end\ntests via Xvfb.\n\n## Technologies\n\n* NW.js\n* Karma, Protractor, Jasmine\n* Gulp\n* Xvfb\n\n## Getting started\n\nInstall [Vagrant](https://www.vagrantup.com) \u0026 [ansible](http://www.ansible.com).\n\n1. `vagrant up` to provision the box with the ansible playbook\n2. `vagrant ssh` to shell into the box\n3. `cd /vagrant` to enter the directory syncd to your host machine\n4. `git clone https://github.com/mdb/nw-app-testing.git` to clone an example app\n5. `cd nw-app-testing`\n6. `npm install`\n7. `gulp test` to run unit tests\n8. `gulp e2e` to run end-to-end tests\n\n## Bonus - debug from your Mac via VNC\n\nThe Vagrant box has no GUI, but your Mac does! Connect to the Vagrant box from\nyour Mac via VNC to observe and debug.\n\nInstall \u0026 run x11vnc on the vagrant box\n\n1. `vagrant ssh`\n2. `sudo apt-get install x11vnc`\n3. `x11vnc -display :0 \u0026`\n\nInstall and run Tiger VNC Viewer on your Mac\n\n1. `brew install Caskroom/cask/tigervnc-viewer`\n2. start Tiger VNC viewer on `localhost:5901`\n\nRun the tests on the Vagrant box and watch from Tiger VNC Viewer.\n\n## Next Steps\n\nDeploy to AWS? Digital Ocean? OpenStack?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fnw-testing-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fnw-testing-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fnw-testing-box/lists"}