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
- FRAGMENT
- ๊ฐ๋ฐ์
- dfs
- socket
- bfs
- C
- Stack
- Android Studio
- Data Structure
- ํ๊ณ
- ๋ฆฌ๋ฒ์ฑ
- ์นํดํน
- JPA
- javascript
- queue
- OneToMany
- brute-force
- webhacking.kr
- ํ๋ก๊ทธ๋๋จธ์ค
- Android
- Vo
- graph
- reversing
- sort
- git
- Algorithm
- mysql
- ์ฐ์ํ ํ ํฌ์ฝ์ค
- Java
- ํด์ธ์ฌํ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
๊ธ ๋ณด๊ดํจ