{"id":16758464,"url":"https://github.com/kessler/tdd-js-template","last_synced_at":"2025-03-16T08:20:45.652Z","repository":{"id":5235847,"uuid":"6412882","full_name":"kessler/tdd-js-template","owner":"kessler","description":"a template for a javascript test driven development project. uses jasmine and phantomJS","archived":false,"fork":false,"pushed_at":"2012-11-03T05:29:20.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T08:12:41.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jrior001/f2fs_fstab_convert_script","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kessler.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":"2012-10-27T01:56:50.000Z","updated_at":"2013-10-13T07:54:13.000Z","dependencies_parsed_at":"2022-08-26T12:50:21.176Z","dependency_job_id":null,"html_url":"https://github.com/kessler/tdd-js-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftdd-js-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftdd-js-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftdd-js-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftdd-js-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kessler","download_url":"https://codeload.github.com/kessler/tdd-js-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243842063,"owners_count":20356598,"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-10-13T04:05:27.341Z","updated_at":"2025-03-16T08:20:45.615Z","avatar_url":"https://github.com/kessler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"tdd-js-template\n=================\n\nA template for a javascript test driven development project. Uses requireJS, jasmine and phantomJS. This project is built to automatically detect all the specs in a directory and run them, see the command below\n\n* to run the tests you'll need to install [phantomJS](http://phantomjs.org/download.html) on your machine \n* add the phantomjs.exe location to your path (or replace to a fully qualified path in the next instruction code)\n* run `phantomjs lib/run_jasmine_test.coffee specs`\n\nGiven the following class file `src/X.js`:\n\n\tdefine(function() {\n\t\tfunction X() {\n\t\t}\n\n\t\treturn X;\n\t});\n\nThe spec file `specs/X_spec.js` will look like this:\n\n\n\tdefine(['X'], function(X) {\n\t\tdescribe('X', function() {\n\t\t\tit('is an X', function() {\n\t\t\t\texpect(true).toBe(true);\n\t\t\t});\n\t\t});\n\t});\n\n\n**the _spec suffix is mandatory for the script to automatically identify the spec files**\n\n**at the moment the test command can only be run from the project root**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Ftdd-js-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkessler%2Ftdd-js-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Ftdd-js-template/lists"}