diff --git a/README.md b/README.md index 70c3080..1aeabd9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,20 @@ # react-native-template -Coding conventions: +## Coding Conventions - Lower-case single-word folder names - Upper-case single-word file names - Upper-case exports IF export is an object or reference -- Lower-case exports IF export is a function \ No newline at end of file +- Lower-case exports IF export is a function + +## Testing Scripts +- "npm run test": run all tests with minimal console output +- "npm run testVerbose": run all tests with all console output +- "npm run testCoverage": produce coverage report for all project code +- "npm run testActionCreators": only test action creators +- "npm run testApp": only test app screens and components +- "npm run testMigrations": only test database migrations +- "npm run testRepos": only test database repositories +- "npm run testDB": only test database setup and API calls +- "npm run testNav": only test navigation +- "npm run testThemes": only test app theming and styles setup +- "npm run testServices": only test app services \ No newline at end of file diff --git a/changeme/package.json b/changeme/package.json index 4f89a08..a4fe9f5 100644 --- a/changeme/package.json +++ b/changeme/package.json @@ -16,6 +16,7 @@ "testDB": "jest __tests__/DB-test.js --silent", "testNav": "jest __tests__/Nav-test.js --silent", "testThemes": "jest __tests__/Themes-test.js --silent", + "testServices": "jest __tests__/Services-test.js --silent", "lint": "eslint ." }, "dependencies": {