mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
* Introduction > Your First Test * Guides > Adding testID to your components * Guides > Investigating Failures Co-authored-by: Yaroslav Serhieiev <[email protected]>
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
import CodeBlock from '@theme/CodeBlock';
|
|
|
|
<>
|
|
{props.debug && <div>
|
|
|
|
Since this is a debug configuration, you need to have React Native packager running in parallel before you start
|
|
Detox tests:
|
|
|
|
```bash
|
|
npm start
|
|
|
|
> react-native start
|
|
|
|
# #######
|
|
# ################
|
|
# ######### #########
|
|
# ######### ##########
|
|
# ######### ###### #########
|
|
# ##########################################
|
|
# ##### ##################### #####
|
|
# ##### ############## #####
|
|
# ##### ### ###### ### #####
|
|
# ##### ####### ####### #####
|
|
# ##### ########### ########### #####
|
|
# ##### ########################## #####
|
|
# ##### ########################## #####
|
|
# ##### ###################### ######
|
|
# ###### ############# #######
|
|
# ######### #### #########
|
|
# ######### #########
|
|
# ######### #########
|
|
# #########
|
|
#
|
|
#
|
|
# Welcome to Metro!
|
|
# Fast - Scalable - Integrated
|
|
```
|
|
|
|
</div>}
|
|
</>
|
|
|
|
Now you can run your first test:
|
|
|
|
<CodeBlock language="sh">
|
|
detox test --configuration {props.configurationName}
|
|
</CodeBlock>
|