{"id":19571765,"url":"https://github.com/loadsys/testjs","last_synced_at":"2025-04-27T03:32:38.198Z","repository":{"id":7658107,"uuid":"9019390","full_name":"loadsys/TestJs","owner":"loadsys","description":"Skeleton view files and assets for testing browser js code.","archived":false,"fork":false,"pushed_at":"2013-09-01T00:47:29.000Z","size":332,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-04T20:51:22.406Z","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":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loadsys.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":"2013-03-26T00:30:09.000Z","updated_at":"2019-08-13T15:18:14.000Z","dependencies_parsed_at":"2022-09-11T09:11:54.841Z","dependency_job_id":null,"html_url":"https://github.com/loadsys/TestJs","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/loadsys%2FTestJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FTestJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FTestJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsys%2FTestJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loadsys","download_url":"https://codeload.github.com/loadsys/TestJs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251085145,"owners_count":21533821,"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-11T06:19:57.966Z","updated_at":"2025-04-27T03:32:37.657Z","avatar_url":"https://github.com/loadsys.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestJs Plugin\n\nA plugin to quickly setup browser based javascript unit testing.\n\n## Installation\n\nRun the following shell command to install the default `test.ctp` view.\n\n``` bash\nConsole/cake TestJs.testjs_install\n```\n\n## Usage\n\nTo use the plugin, load the plugin and be sure to enable the routes.\n\n``` php\nCakePlugin::load('TestJs', array('routes' =\u003e true));\n```\n\nTo view the test page to `/testjs` in the browser (use `/app_name/testjs` if your app is in a sub directory). This url is only available when the app is not in debug = 0.\n\n## Configure\n\nTo configure the plugin, write options with `Configure::write()`.\n\nThe valid framework options are:\n\n- qunit - Use the qunit testing framework\n- jasmine - Use the jasmine spec framework\n- mocha - Use the mocha test/spec framework (also set chai for assertions)\n\nThe valid chai options are:\n\n- assert - Use the assert assertion style\n- expect - Use the expect assertion style\n- should - Use the should assertion style\n\n``` php\nConfigure::write('TestJs', array(\n  'framework' =\u003e 'mocha',\n  'chai' =\u003e 'expect'\n));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadsys%2Ftestjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floadsys%2Ftestjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadsys%2Ftestjs/lists"}