Skip to content

Commit

Permalink
sonar-project.properties folders update
Browse files Browse the repository at this point in the history
  • Loading branch information
vanGalilea committed Jan 31, 2024
1 parent 526d2d9 commit ae39453
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=vanGalilea_react-native-testing&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=vanGalilea_react-native-testing)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=vanGalilea_react-native-testing&metric=coverage)](https://sonarcloud.io/summary/new_code?id=vanGalilea_react-native-testing)
[![Unit Testing](https://github.com/vanGalilea/react-native-testing/actions/workflows/unit-testing.yml/badge.svg)](https://github.com/vanGalilea/react-native-testing/actions/workflows/unit-testing.yml)
[![E2E Testing](https://github.com/vanGalilea/react-native-testing/actions/workflows/e2e-testing.yml/badge.svg)](https://github.com/vanGalilea/react-native-testing/actions/workflows/e2e-testing.yml)

### Covered Examples 🎞
- 👆 [Clicking buttons and asserting onPress' outcome](https://github.com/vanGalilea/react-native-testing/blob/master/__tests__/Counter.test.tsx).
- 👆 [Clicking buttons and asserting onPress' outcome](https://github.com/vanGalilea/react-native-testing/blob/main/apps/rn-cli-app/__tests__/Counter.test.tsx).
- 📲 [Filling a simple login form and asserting successful submission](https://github.com/vanGalilea/react-native-testing/blob/master/__tests__/LoginSubmission.test.tsx).
- 🎣 [Custom hook testing (number of alternatives)](https://github.com/vanGalilea/react-native-testing/blob/master/__tests__/CounterUsesCustomHook.test.tsx).
- 📡 [Mocking fetch calls](https://github.com/vanGalilea/react-native-testing/blob/master/__tests__/LoginSubmission.test.tsx#L36).
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
sonar.organization=vangalilea
sonar.projectKey=vanGalilea_react-native-testing
sonar.javascript.lcov.reportPaths=**/coverage/lcov.info
sonar.sources=src/
sonar.sources=apps/rn-cli-app/src/, apps/rn-expo-app/app
sonar.test.exclusions=**/__tests__/**
sonar.coverage.exclusions=**/__tests__/**, **/__mocks__/**
sonar.coverage.inclusions=**/src/**/**.ts|tsx
sonar.coverage.inclusions=**/src/**/**.ts|tsx, **/app/**/**.ts|tsx
sonar.exclusions=**/android/**, **/ios/**
sonar.verbose=true
sonar.host.url=https://sonarcloud.io

0 comments on commit ae39453

Please sign in to comment.