{"id":17398116,"url":"https://github.com/jaydson/qunittestmachine","last_synced_at":"2025-08-03T06:30:55.093Z","repository":{"id":1156129,"uuid":"1042858","full_name":"jaydson/QUnitTestMachine","owner":"jaydson","description":"A QUnit based test library to simplify Javascript tests","archived":false,"fork":false,"pushed_at":"2010-11-05T18:35:07.000Z","size":136,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-17T16:55:11.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jaydson.org/qunit-test-machine","language":"JavaScript","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/jaydson.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-01T20:17:29.000Z","updated_at":"2014-02-18T11:43:30.000Z","dependencies_parsed_at":"2022-08-16T12:20:25.204Z","dependency_job_id":null,"html_url":"https://github.com/jaydson/QUnitTestMachine","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/jaydson%2FQUnitTestMachine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydson%2FQUnitTestMachine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydson%2FQUnitTestMachine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydson%2FQUnitTestMachine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaydson","download_url":"https://codeload.github.com/jaydson/QUnitTestMachine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228528257,"owners_count":17933286,"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-16T14:42:14.540Z","updated_at":"2024-12-06T21:40:35.525Z","avatar_url":"https://github.com/jaydson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. QUnit Test Machine\n\nhttp://jaydson.org\nMantainer: Jaydson Gomes \u003cemail [at] jaydson org\u003e\n\nQUnit Test Machine is a library based on QUnit to simplify Javascript tests.\nWith this library is possible run tests in various javascript files dinamically.\nA simple API is provided, and  the developer just need to specify which files need to be tested.\nSure that you must create your tests files before start, the ideia is just simplify the way to run tests with Qunit.\n\nThis project is open sourced under the MIT\nLicence and can be used and modified by anyone. The requirements are:\n* A Good Browser like Firefox,Chrome,Opera and Safari\n\nh2. Third Party code used:\n* jQuery 1.4.3 by jQuery team\n* Qunit by Jörn Zaefferer and John Resig\n\nh2. Up \u0026 Running in a few steps\n\n* To use QUnitTestMachine you dont need to care about another file then config.js.\nTo start open config.js file, this file have the configuration of your tests.\n\n* Set the path of application that you want run tests\nExample:\n\tQUnitTestMachine.defaults.path = 'http://localhost/Javascript/appteste/';\nQUnitTestMachine will use this like an root path of the application.\n\n* Set a file test prefix\nExample:\n\tQUnitTestMachine.defaults.prefix = 'test_';\nFor default the prefix is 'test_[script]', but you can change this.\nThis mean that if you have a script 'my_script.js' QUnitTestMachine will search for a file in the same path with name 'test_my_script.js'.\n\n* Add the scripts that you want run tests\nExample\n\tQUnitTestMachine.scripts.add({\n        \"scripts\": [\n            {name: \"script4.js\"},\n            {name: \"script5.js\"}]\n    });\n\t\nTwo formats are suported: \n- A simple String array:\nQUnitTestMachine.scripts.add('script1.js','script2.js');\nQUnitTestMachine.scripts.add('script2.js');\n\n- A simple Json object like example above.\n\n* [NEW] Run tests in multiples paths\nNow is possible run tests in various paths.\nHow to do this? Very simple!\nFirst check if your path property is set, something like that:\n\tQUnitTestMachine.defaults.path = 'http://localhost/Javascript/appteste/';\nThis is a root path of an application that you want to run tests.\nNow, simply set your scripts with a path:\n\tQUnitTestMachine.scripts.add({\n\t\t\"scripts\": [\n\t\t\t{name: \"path/to/my/script/script4.js\"},\n\t\t\t{name: \"another/path/to/my/script/script5.js\"}]\n\t});\nWith this configurations QUnitTestMachine load all scripts and search for test files in the same path of your script.\nIn this example, 'path/to/my/script/script4.js' QUnitTestMachine will search for 'path/to/my/script/test_script4.js'\n\nh2. How can you help?\n* Testing and sending Tickets!\n* Resolving existing tickets!\n* Spreading the world about the project!\n\nh2. How can I get Help?\n* First the \"project's wiki\":http://wiki.github.com/jaydson/QUnitTestMachine\n* You can send a message to anyone involved into the project (throught GitHub)\n* \"QUnit Documentation\":http://docs.jquery.com/Qunit\n* \"jQuery Documentation\":http://docs.jquery.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaydson%2Fqunittestmachine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaydson%2Fqunittestmachine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaydson%2Fqunittestmachine/lists"}