{"id":24780438,"url":"https://github.com/webgriffe/db-isolation-extension","last_synced_at":"2025-03-24T04:40:28.257Z","repository":{"id":62547757,"uuid":"85164845","full_name":"webgriffe/db-isolation-extension","owner":"webgriffe","description":"Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.","archived":false,"fork":false,"pushed_at":"2020-04-03T16:04:48.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-19T01:48:25.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/webgriffe.png","metadata":{"files":{"readme":"README.md","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":"2017-03-16T07:18:20.000Z","updated_at":"2020-04-03T16:04:23.000Z","dependencies_parsed_at":"2022-11-02T22:30:32.127Z","dependency_job_id":null,"html_url":"https://github.com/webgriffe/db-isolation-extension","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fdb-isolation-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fdb-isolation-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fdb-isolation-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fdb-isolation-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webgriffe","download_url":"https://codeload.github.com/webgriffe/db-isolation-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212107,"owners_count":20578438,"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-29T10:30:45.238Z","updated_at":"2025-03-24T04:40:28.226Z","avatar_url":"https://github.com/webgriffe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Database Isolation Extension\n============================\n\nMagento 1.x extension which isolates database between [Ecomdev_PHPUnit](https://github.com/EcomDev/EcomDev_PHPUnit)'s tests.\n\nInstall\n-------\n\nInstall the extension using Composer:\n\n\tcomposer require webgriffe/db-isolation-extension\n\nConfiguration\n-------------\n\nPut an XML file in `app/etc`, for example `app/etc/db_isolation.xml`, with the following content:\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cconfig\u003e\n    \u003cphpunit\u003e\n        \u003cdb_isolation\u003e\n            \u003cenabled\u003e1\u003c/enabled\u003e\n            \u003cwarning_enabled\u003e1\u003c/warning_enabled\u003e\n        \u003c/db_isolation\u003e\n    \u003c/phpunit\u003e\n\u003c/config\u003e\n\n```\n\nWhen `phpunit/db_isolation/enabled` config is set to `1` every test runs inside a database transaction.\n\nWhen `phpunit/db_isolation/warning_enabled` config is set to `1` the extension will set tests as risky if the database changes after its execution.\n\nLicense\n-------\n\nThis library is under the MIT license. See the complete license in the LICENSE file.\n\nCredits\n-------\n\nDeveloped by [Webgriffe®](http://www.webgriffe.com/). Please, report to us any bug or suggestion by GitHub issues.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgriffe%2Fdb-isolation-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebgriffe%2Fdb-isolation-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgriffe%2Fdb-isolation-extension/lists"}