All Projects â†’ netbeast â†’ react-native-diagnose

netbeast / react-native-diagnose

Licence: MIT license
A framework to test a React Native app during runtime

Programming Languages

javascript
184084 projects - #8 most used programming language
objective c
16641 projects - #2 most used programming language
python
139335 projects - #7 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to react-native-diagnose

PixelTest
Fast, modern, simple iOS snapshot testing written purely in Swift.
Stars: ✭ 56 (+133.33%)
Mutual labels:  test, testing-framework
eaf-linter
ðŸĪŠ A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (-29.17%)
Mutual labels:  test, testing-framework
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (+70.83%)
Mutual labels:  test, testing-framework
api-test
ðŸŒŋ A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+120.83%)
Mutual labels:  test, testing-framework
Bach
Bach Testing Framework
Stars: ✭ 392 (+1533.33%)
Mutual labels:  test, testing-framework
Swagger meqa
Auto generate and run tests using swagger/OpenAPI spec, no coding needed
Stars: ✭ 151 (+529.17%)
Mutual labels:  test, testing-framework
TorXakis
A tool for Model Based Testing
Stars: ✭ 40 (+66.67%)
Mutual labels:  test, testing-framework
IO-TESTER
A functional test framework
Stars: ✭ 32 (+33.33%)
Mutual labels:  test, testing-framework
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging ðŸĪ—
Stars: ✭ 20 (-16.67%)
Mutual labels:  test, testing-framework
Aruba
Test command-line applications with Cucumber-Ruby, RSpec or Minitest. The most up to date documentation can be found on Cucumber.Pro (https://app.cucumber.pro/projects/aruba)
Stars: ✭ 900 (+3650%)
Mutual labels:  test, testing-framework
testza
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
Stars: ✭ 409 (+1604.17%)
Mutual labels:  test, testing-framework
mock-hls-server
Fake a live/event HLS stream from a VOD one. Useful for testing. Supports looping.
Stars: ✭ 61 (+154.17%)
Mutual labels:  test
m.test
m(icro)test is a lightweight test runner for node.js written in es6+
Stars: ✭ 17 (-29.17%)
Mutual labels:  test
7182
Curso 7182 - Refatorando para testes de unidade
Stars: ✭ 21 (-12.5%)
Mutual labels:  test
Tablier
A micro-framework for Table Driven Tests.
Stars: ✭ 33 (+37.5%)
Mutual labels:  test
vscode-phpunit
The VS Code Test Explorer extension for PHPUnit
Stars: ✭ 100 (+316.67%)
Mutual labels:  test
TFM
Tyler's Frame Machine is a simple, free, educational, and portable tool for testing, benchmarking, comparison, and demonstration. TFM supports OpenGL, DirectX 11, DirectX 12, Metal, and most importantly, Vulkan! https://tylemagne.github.io/TFM
Stars: ✭ 63 (+162.5%)
Mutual labels:  test
api-with-express
🌈 API with Express
Stars: ✭ 25 (+4.17%)
Mutual labels:  test
pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
Stars: ✭ 9,731 (+40445.83%)
Mutual labels:  test
Starwars-clean
Simple project with clean architecture
Stars: ✭ 34 (+41.67%)
Mutual labels:  test

react-native-diagnose

npm version

A react runtime diagnose component

Rationale

  • Testing native applications is complicated
  • There are features that can only be tested on a device, unless mocked
  • You may want to test your app on a production build, before submit it to the stores
import { Diagnose, Test } from 'react-diagnose'

/**
 * Diagnose will run all test components inside
 * Test components are going to be marked visually as completed or not
 * to d
 */
return (
  <Diagnose suiteTitle="Diagnose">
    <Test should="Passing test" />
    <Test should="Unfinished test" run={() => {
      return new Promise(() => setTimeout(() => {}, 1000000))
    }} />
    <Test should="Failed test" run={() => {throw new Error('Failing test')}} />
    <Test should="Dummy test" />
  </Diagnose>
)

demo screenshot

Help wanted

  • Elapsed time
  • Before all
  • Before each
  • After each
  • After all

More documentation is incoming, in the meanwhile please read the source code. It is a single file! PRs and issues are more than welcome.

works with yeti

 This package powers Yeti Smart Home and is used in production.

Follow us in Github or https://twitter.com/netbeast_co.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].