Skip to content

Commit 92d4d52

Browse files
committed
.
1 parent bf4e88d commit 92d4d52

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://www.github.com/callstack/react-native-testing-library.git"
1010
},
1111
"homepage": "https://oss.callstack.com/react-native-testing-library",
12-
"author": "Michał Pierzchała <thymikee@gmail.com> (https://github.com/thymikee), Maciej Jastrzębski <mdjastrzebski@gmail.com> (https://github.com/mdjastrzebski)",
12+
"author": "Maciej Jastrzębski <mdjastrzebski@gmail.com> (https://github.com/mdjastrzebski), Michał Pierzchała <thymikee@gmail.com> (https://github.com/thymikee)",
1313
"contributors": [
1414
"Augustin Le Fèvre <augustin.le-fevre@klarna.com> (https://github.com/AugustinLF)",
1515
"Pierre Zimmermann <pierrez@nam.tech> (https://github.com/pierrezimmermannbam)",

website/docs/14.x/docs/advanced/testing-env.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ Instead, RNTL uses [Test Renderer](https://github.com/mdjastrzebski/test-rendere
2525
Using Test Renderer has trade-offs:
2626

2727
Benefits:
28+
2829
- Tests run on most CIs (Linux, etc) without a mobile device or emulator
2930
- Faster test execution
3031
- Light runtime environment
3132

3233
Limitations:
34+
3335
- Tests don't execute native code
3436
- Tests are unaware of view state managed by native components, e.g., focus, unmanaged text boxes, etc.
3537
- Assertions don't operate on native view hierarchy

website/docs/14.x/docs/guides/faq.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ You can learn more about our testing environment [here](/docs/advanced/testing-e
1616
This approach has benefits and limitations:
1717

1818
Benefits:
19+
1920
- Tests most of the logic of regular React Native apps
2021
- Runs tests on any OS supported by Jest or other test runners, e.g., on CI
2122
- Uses fewer resources than full runtime simulation
2223
- Works with Jest fake timers
2324

2425
Limitations:
26+
2527
- Cannot test native features
2628
- May not perfectly simulate certain JavaScript features, but we're working on it
2729

0 commit comments

Comments
 (0)