Skip to content

Commit a81ce17

Browse files
committed
README Testing 영역 수정
1 parent ddd7886 commit a81ce17

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

README.md

+19-13
Original file line numberDiff line numberDiff line change
@@ -127,21 +127,27 @@ $ npm test
127127
```
128128

129129
#### 테스트 상세히 보기
130-
1. `/tests` 폴더로 이동합니다
130+
1. `/tests` 디렉토리로 이동합니다
131131
2. 서버를 실행합니다
132132

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` 파일에서 합니다.
145151

146152
### Review
147153

0 commit comments

Comments
 (0)