{"id":24753851,"url":"https://github.com/codeceptjs/codecept3-upgrade","last_synced_at":"2025-06-19T04:39:10.959Z","repository":{"id":43983765,"uuid":"244329300","full_name":"codeceptjs/codecept3-upgrade","owner":"codeceptjs","description":"🛫 Upgrade script for CodeceptJS 3.0","archived":false,"fork":false,"pushed_at":"2023-01-05T08:51:46.000Z","size":1311,"stargazers_count":0,"open_issues_count":13,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-25T06:29:21.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codecept.io","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/codeceptjs.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":"2020-03-02T09:21:43.000Z","updated_at":"2020-10-25T11:07:11.000Z","dependencies_parsed_at":"2023-02-03T21:32:15.316Z","dependency_job_id":null,"html_url":"https://github.com/codeceptjs/codecept3-upgrade","commit_stats":null,"previous_names":["codecept-js/codecept3-upgrade"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeceptjs%2Fcodecept3-upgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeceptjs%2Fcodecept3-upgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeceptjs%2Fcodecept3-upgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeceptjs%2Fcodecept3-upgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeceptjs","download_url":"https://codeload.github.com/codeceptjs/codecept3-upgrade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095488,"owners_count":21693923,"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":"2025-01-28T11:36:34.298Z","updated_at":"2025-06-19T04:39:10.884Z","avatar_url":"https://github.com/codeceptjs.png","language":"JavaScript","readme":"# 🛫 codecept3-upgrade\n\nUpgrade script for CodeceptJS v3 to automatically migrate tests to the new syntax:\n\n```js\n// CodeceptJS v2 - before\nScenario('title', (I, loginPage) =\u003e {});\n\n// CodeceptJS v3 - after\nScenario('title', ({ I, loginPage }) =\u003e {});\n```\n\n\n## Usage\n\n⚠ This script will change your code. Before using this script - commit all your changes and switch to a new git branch.\n\n\nMigration is done via \"codecept3-upgrade\" npx script which can be executed without an installation.\n\n* Upgrade all tests (*test.js) in current directory: \n\n```\nnpx codecept3-upgrade \n```\n\n* Upgrade all tests (*test.js) in a path: \n\n```\nnpx codecept3-upgrade tests/\n```\n\n* In case other file mask than **_test.js is used, apply this script to directory with tests and provide `--all` option so all JS files will be parsed:\n\n```\nnpx codecept3-upgrade tests/ --all\n```\n\nAfter migration was performed review all the updates, install CodeceptJS v3 and run all tests.\nIf updated tests work correctly - commit your changes.\n\n---\n\nLicense MIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeceptjs%2Fcodecept3-upgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeceptjs%2Fcodecept3-upgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeceptjs%2Fcodecept3-upgrade/lists"}