Java) Unit Test, TDD (๋จ์ํ
์คํธ, ํ
์คํธ ์ฃผ๋ ๊ฐ๋ฐ)
TDD์ ๋จ์ํ ์คํธ๋ ๋ค๋ฅด๋ค. ๋จ์ํ ์คํธ๋ก ๋จผ์ ์ฐ์ตํ๊ณ TDD์ ์ ์ฐจ ์ต์ํด์ง์. ์ถ์ฒ์์ Unit Test (๋จ์ ํ ์คํธ) โ Production code โ Test code => JUnit Annotation์ ํ์ฉ JUnit 5.x import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class CalculatorTest { Calculator cal; @BeforeEach public void setUp() { cal = ..
General, Java
2019. 9. 14. 14:20
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
TAG
- Algorithm
- graph
- Stack
- Vo
- javascript
- Java
- webhacking.kr
- ์นํดํน
- ํ๊ณ
- Data Structure
- ํด์ธ์ฌํ
- JPA
- dfs
- Android
- ํ๋ก๊ทธ๋๋จธ์ค
- git
- brute-force
- FRAGMENT
- ์ฐ์ํ ํ ํฌ์ฝ์ค
- OneToMany
- sort
- ๊ฐ๋ฐ์
- mysql
- Android Studio
- ๋ฆฌ๋ฒ์ฑ
- reversing
- queue
- bfs
- socket
- C
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
๊ธ ๋ณด๊ดํจ