2주차: 3장 코드에서 나는 악취 ~ 5장 리팩터링 카탈로그 보는 법 #3
Replies: 8 comments 9 replies
-
4번 질문
|
Beta Was this translation helpful? Give feedback.
-
5번 질문Q. 다음과 같이 테스트 코드를 작성했을 때, 어떤 문제점이 생길 수 있고 어떻게 개선할 수 있을까요? describe("province", () => {
const asia = new Province(sampleProvinceData());
it("shortfall", function () {
expect(asia.shortfall).toBe(5);
});
it("profit", function () {
expect(asia.profit).toBe(230);
});
}); |
Beta Was this translation helpful? Give feedback.
-
8번 질문
|
Beta Was this translation helpful? Give feedback.
-
1번 - 4장 Q. 테스트코드를 작성할 때 경계 조건을 어떤 관점에서 생각해 보면 좋을까요? |
Beta Was this translation helpful? Give feedback.
-
2번 질문Q1. 함수 이름을 지으려는데 마땅한 이름이 생각나지 않습니다... 어떤 고민을 하면 좋을까요? |
Beta Was this translation helpful? Give feedback.
-
7번 질문
|
Beta Was this translation helpful? Give feedback.
-
6번 질문문제1. 결과값으로 실패하는 케이스인 테스트 코드를 작성해야할까요? 작성해야한다면 왜일까요? |
Beta Was this translation helpful? Give feedback.
-
3번 질문Q. 데이터 불변성을 왜 지켜야 할까요? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
5장은 패스합니다.
코드작성, 주관식, 객관식, 단어퀴즈 등 자유롭게 문제를 작성해 코멘트로 달고, 답변을 그 밑에 작성합니다.
Beta Was this translation helpful? Give feedback.
All reactions