Baker includes test setups for the following
RN tests use Jest with snapshot testing support. To learn more about snapshots, refer to this tutorial
Baker will test anything within app/src directory (and its subdirectories) that looks like *.test.js. Generally speaking, you will not need to create any test suites manually since scaffolding feature takes care of creating tests for your components, actions and reducers.
To test your RN application, use the following command
npm run test:app
To run tests against your application server code, use the following command
npm run test:server
Server tests reside in server/tests directory
To run tests against Baker’s internals (generators mostly)
npm run test:baker
There are a few useful scripts that get run by Travis grouped under ci command in package.json. These include: