{"id":21331150,"url":"https://github.com/netbeast/react-native-diagnose","last_synced_at":"2025-07-12T09:31:35.782Z","repository":{"id":143798966,"uuid":"111199702","full_name":"netbeast/react-native-diagnose","owner":"netbeast","description":"A framework to test a React Native app during runtime","archived":false,"fork":false,"pushed_at":"2019-03-26T11:31:58.000Z","size":320,"stargazers_count":26,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-28T06:19:33.524Z","etag":null,"topics":["diagnose","react","react-native","test","testing-framework"],"latest_commit_sha":null,"homepage":null,"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/netbeast.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-18T11:21:45.000Z","updated_at":"2023-04-19T19:42:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa3712af-716f-4b7e-9615-b523a4ae9f4b","html_url":"https://github.com/netbeast/react-native-diagnose","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/netbeast%2Freact-native-diagnose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-diagnose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-diagnose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-diagnose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netbeast","download_url":"https://codeload.github.com/netbeast/react-native-diagnose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225362137,"owners_count":17462377,"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":["diagnose","react","react-native","test","testing-framework"],"created_at":"2024-11-21T22:29:40.972Z","updated_at":"2024-11-21T22:29:41.512Z","avatar_url":"https://github.com/netbeast.png","language":"JavaScript","readme":"# react-native-diagnose\n![npm version](https://badge.fury.io/js/react-native-diagnose.svg)\n\nA react runtime diagnose component\n\n## Rationale\n* Testing native applications is complicated\n* There are features that can only be tested on a device, unless mocked\n* You may want to test your app on a production build, before submit it to the stores\n\n```javascript\nimport { Diagnose, Test } from 'react-diagnose'\n\n/**\n * Diagnose will run all test components inside\n * Test components are going to be marked visually as completed or not\n * to d\n */\nreturn (\n  \u003cDiagnose suiteTitle=\"Diagnose\"\u003e\n    \u003cTest should=\"Passing test\" /\u003e\n    \u003cTest should=\"Unfinished test\" run={() =\u003e {\n      return new Promise(() =\u003e setTimeout(() =\u003e {}, 1000000))\n    }} /\u003e\n    \u003cTest should=\"Failed test\" run={() =\u003e {throw new Error('Failing test')}} /\u003e\n    \u003cTest should=\"Dummy test\" /\u003e\n  \u003c/Diagnose\u003e\n)\n```\n\n\u003cimg alt=\"demo screenshot\" src=\"screenshot.png\" width=\"350\" /\u003e\n\n## Help wanted\n- [ ] Elapsed time\n- [ ] Before all\n- [ ] Before each\n- [ ] After each\n- [ ] After all\n\n\nMore documentation is incoming, in the meanwhile please read the source code. It is a single file!\nPRs and issues are more than welcome.\n\n\u003ca href=\"https://getyeti.co\" target=\"_blank\"\u003e\n  \u003cimg alt=\"works with yeti\" src=\"works-with-yeti.png\" width=\"100\" /\u003e\n\u003c/a\u003e\n\n\u003e This package powers [Yeti Smart Home](https://getyeti.co) and is used in production.\n\nFollow us in Github or https://twitter.com/netbeast_co.\n","funding_links":[],"categories":["Frameworks"],"sub_categories":["Other Platforms"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbeast%2Freact-native-diagnose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetbeast%2Freact-native-diagnose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbeast%2Freact-native-diagnose/lists"}