File tree 1 file changed +19
-13
lines changed
1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -127,21 +127,27 @@ $ npm test
127
127
```
128
128
129
129
#### 테스트 상세히 보기
130
- 1 . ` /tests ` 폴더로 이동합니다
130
+ 1 . ` /tests ` 디렉토리로 이동합니다
131
131
2 . 서버를 실행합니다
132
132
133
- ``` sh
134
- $ npm install
135
- ```
136
- 3 . ` cypress ` 을 창 띄웁니다
137
-
138
- ``` sh
139
- $ npm run cypress:open
140
- ```
141
-
142
- #### 테스트 수정
143
- - Test case 수정은 ` /cypress/integration/*.spec.js ` 파일에서 합니다.
144
- - Testing app 수정은 ` /src/*/App.js ` 파일에서 합니다.
133
+ ``` sh
134
+ $ npm start
135
+ ```
136
+ 3. ` cypress` 창을 띄웁니다
137
+
138
+ ` ` ` sh
139
+ $ npm run cypress:open
140
+ ` ` `
141
+
142
+ # ### 테스트 추가 및 수정하기
143
+ - 테스트 추가
144
+ 1. ` /tests` 디렉토리로 이동합니다
145
+ 2. 테스트를 추가할 패키지를 설치합니다
146
+ 3. ` /src` 디렉토리에 새로운 디렉토리를 추가하고 테스팅 앱을 작성합니다.
147
+ 4. ` /cypress/integration` 디렉토리에 ` * .spec.js` 파일을 생성하고 테스트 케이스를 작성합니다.
148
+ - 테스트 수정
149
+ - 테스트 케이스 수정은 ` /cypress/integration/* .spec.js` 파일에서 합니다.
150
+ - 테스팅 앱 수정은 ` /src/* /App.js` 파일에서 합니다.
145
151
146
152
# ## Review
147
153
You can’t perform that action at this time.
0 commit comments