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