Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Yeoman generator for creating a React Native application with Redux, and Enzyme with JSdom.

License

Notifications You must be signed in to change notification settings

connected-io/generator-react-native-testable

Repository files navigation

Testable React Native Project Generator NPM version Build Status Dependency Status Coverage percentage

Painless react-native project setup, with redux and unit tests already set up and ready to run.

Adds support for:

  • Redux and Redux-Thunk application state management.
  • Enzyme and and jsdom for deep rendering of Components directly in tests.
  • Example tests of the above.

Installation

First, install Yeoman and generator-react-native-testable using npm (we assume you have pre-installed node.js).

npm install -g yo generator-react-native-testable

Then generate your new project:

yo react-native-testable --force
cd YourProjectName
npm install

That's all! After you cd into the project directory you can npm test to run unit tests, or react-native run-android or react-native run-ios to run the project.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Apache-2.0 © Connected Lab

About

Yeoman generator for creating a React Native application with Redux, and Enzyme with JSdom.

Resources

License

Stars

Watchers

Forks

Packages

No packages published