{"id":17069808,"url":"https://github.com/jlong/javascript_spec","last_synced_at":"2026-04-29T08:03:59.171Z","repository":{"id":440621,"uuid":"62628","full_name":"jlong/javascript_spec","owner":"jlong","description":null,"archived":false,"fork":false,"pushed_at":"2008-10-13T20:20:04.000Z","size":134,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-28T17:17:23.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/jlong.png","metadata":{"files":{"readme":"README","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":"2008-10-13T20:14:38.000Z","updated_at":"2019-08-13T13:38:00.000Z","dependencies_parsed_at":"2022-08-02T16:00:53.444Z","dependency_job_id":null,"html_url":"https://github.com/jlong/javascript_spec","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/jlong%2Fjavascript_spec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlong%2Fjavascript_spec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlong%2Fjavascript_spec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlong%2Fjavascript_spec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlong","download_url":"https://codeload.github.com/jlong/javascript_spec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090865,"owners_count":20559296,"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-14T11:27:54.440Z","updated_at":"2026-04-29T08:03:54.151Z","avatar_url":"https://github.com/jlong.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"=JavaScript spec testing plugin\n\nBased heavily on the javascript_test plugin in the Rails Subversion repository,\nthis plugin provides the JSSpec testing framework in a way that integrates\nwith Rails applications.\n\n==Usage\n\nUse the provided generator to build a skeleton for your JavaScript spec.\nThe built-in rake task can then be used to automatically run the specs\nin various installed browsers (supported are Firefox on IE/Mac/Linux, \nSafari on Mac, Konqueror on Linux).\n\nNote that due to the built-in webrick, you don't have to change anything\nabout your app, just add specs. :)\n\n==Example\n\nGenerate a JavaScript spec skeleton for your public/javascripts/foo.js file:\n\n  script/generate javascript_spec foo\n\nRun the javascript spects and see the automagically controlled browsers in\naction:\n\n  rake spec:javascripts\n  \nYou have to manually close the browser window(s) afterwards.\n\nYou can also run the spec manually, by symlinking the assets directory.\nIn your Rails application root, run:\n\n  ln -s ../../vendor/plugins/javascript_spec/assets/ spec/javascript/assets\n  \nYou then can just open the individual .html spec files in your browser.\n\nAll in all, JSSpec.js is closely modeled on RSpec. For more information about\nwriting Javascript specs, see:\n\nhttp://jania.pe.kr/aw/moin.cgi/JSSpec\n\n\n==Credits\n\nThe credit for this plugin really goes to Thomas Fuchs who authord the\noriginal javascript_test plugin. Also, Jon Tirsen authored the automated \nbrowser remote control-niceties.\n\n\n== License\n\nPortions Copyright (c) 2007 John W. Long, released under the MIT license\nPortions Copyright (c) 2005-2006 Thomas Fuchs, released under the MIT license\nJSSpec is Copyright (c) 2007 Alan Kang and released under the GNU LGPL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlong%2Fjavascript_spec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlong%2Fjavascript_spec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlong%2Fjavascript_spec/lists"}