{"id":21490497,"url":"https://github.com/colorfy-software/detoxify","last_synced_at":"2026-04-20T13:08:52.393Z","repository":{"id":60535939,"uuid":"542601412","full_name":"colorfy-software/detoxify","owner":"colorfy-software","description":"🧪  Useful helpers for E2E testing in React Native with Detox.","archived":false,"fork":false,"pushed_at":"2022-10-05T09:27:19.000Z","size":440,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T15:10:04.164Z","etag":null,"topics":["android","detox","e2e","ios","react-native","testing"],"latest_commit_sha":null,"homepage":"https://www.npmjs.org/package/@colorfy-software/detoxify","language":"Java","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/colorfy-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-28T13:21:43.000Z","updated_at":"2022-09-28T13:24:45.000Z","dependencies_parsed_at":"2023-01-19T04:25:17.165Z","dependency_job_id":null,"html_url":"https://github.com/colorfy-software/detoxify","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Fdetoxify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Fdetoxify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Fdetoxify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colorfy-software%2Fdetoxify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colorfy-software","download_url":"https://codeload.github.com/colorfy-software/detoxify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022715,"owners_count":20385134,"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":["android","detox","e2e","ios","react-native","testing"],"created_at":"2024-11-23T14:38:29.955Z","updated_at":"2026-04-20T13:08:47.372Z","avatar_url":"https://github.com/colorfy-software.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/colorfy-software/detoxify/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    🧪 Detoxify\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  \u003cstrong\u003eUseful helpers for E2E testing in React Native with Detox.\u003c/strong\u003e\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/colorfy-software/detoxify/actions\"\u003e\n    \u003cimg src=\"https://github.com/colorfy-software/detoxify/workflows/Test%20Suite/badge.svg?branch=main\" alt=\"Current GitHub Actions build status.\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/@colorfy-software/detoxify\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/@colorfy-software%2Fdetoxify.svg\" alt=\"Current npm package version.\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/colorfy-software/detoxify/contributing\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs welcome!\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## 🎯 Purpose\n\n[Detox](https://wix.github.io/Detox/) is a library that provides gray box end-to-end testing and automation for React Native apps. Detoxify has been built on top of it to provide a useful set of tools to make that experience even more delightful.\n\n## 🏗️ Installation\n\n```sh\nyarn add @colorfy-software/detoxify\n```\n\nAlso install and set up:\n\n1. [detox](https://wix.github.io/Detox/docs/introduction/getting-started)\n2. [jest](https://wix.github.io/Detox/docs/guide/jest)\n\n\n## 💻 Usage\n\n### Setup\n\n```ts\n// ./e2e/environment.js\n\nconst DetoxHelpers = require('@colorfy-software/detoxify')\nconst { DetoxCircusEnvironment, SpecReporter, WorkerAssignReporter } = require('detox/runners/jest-circus')\n\nclass CustomDetoxEnvironment extends DetoxCircusEnvironment {\n  constructor(config, context) {\n    super(config, context)\n\n    // 👇👇👇\n    DetoxHelpers.init({\n      translations: require('../src/locales/en.ts'),\n      // optional\n      // runOnly: []\n    })\n    // 👆👆👆\n\n    // Can be safely removed, if you are content with the default value (=300000ms)\n    this.initTimeout = 300000\n\n    // This takes care of generating status logs on a per-spec basis. By default, Jest only reports at file-level.\n    // This is strictly optional.\n    this.registerListeners({\n      SpecReporter,\n      WorkerAssignReporter,\n    })\n  }\n}\n\nmodule.exports = CustomDetoxEnvironment\n```\n\n### Use cases\n\n_Content coming soon._\n\n## 🤝 Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## 💖 Code of Conduct\n\nThis library has adopted a Code of Conduct that we expect project participants to adhere to. Please read the [full text](https://github.com/colorfy-software/detoxify/blob/main/CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated.\n\n## 📰 License\n\ndetoxify is licensed under the [MIT License](https://github.com/colorfy-software/detoxify/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolorfy-software%2Fdetoxify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolorfy-software%2Fdetoxify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolorfy-software%2Fdetoxify/lists"}