Keywords (Legacy)
/
Integration test
Search
Share
ใฐ๏ธ
Integration test
ํ๊ธ
ํตํฉ ํ ์คํธ
์ถ์ฒ
terminology
์๊ฐ/์ง๋ฌธ
+0/0 (terminology) - Integration test
์๊ตฌ๋ ธํธ ์๊ฐ์ ์
ํ๋ก์ ํธ๋ ธํธ ์๊ฐ์ ์
๊ด๋ จ ์ง๋ฌธ์ ์
terminology
์ถ์์ ์ธ(์ ๋ฌธ์ ์ธ) ์ฉ์ด์.
ํค์๋๊ฐ ๊ฐ๊น์ด ์์ผ ๋ด ๊ฒ์๋ ๊ฒ ๊ฐ์ง ์์.
์์๋๊ณ ์ถ์ ๋จ์ด์ด์ง๋ง ์๊ตฌ๋ ธํธ ์์ฑ์ ๊ณผ๋ถํจ.
์ ์
ba2.3.a0.1.2. title: ํตํฉ ์ ๋ ํ ์คํธ(โฃ)๋ ์์กด ์ ๋์ด ์ ๋์ํ๋ค๋ ์ ์ ํ์ ์ ๋์ ์ํํ๋ ๊ฒ์ด ๋ชฉ์ ์ด๊ณ , ํตํฉ ํ ์คํธ(โฃ)๋ ๋ ์ด์์ ์ ๋์ด ๋์์ ์ ๋์ํจ์ ์ํํ๋ ๊ฒ์ด ๋ชฉ์ ์ด๋ค.
์ด ๋จ์ด๋ฅผ ๋ฐ๊ฒฌํ ๊ณณ
1.
534p, ํ๋ก๊ทธ๋จ์ด ๋ณต์กํด์ง๋ฉด ์ฝ๋๋ฅผ ๋ ๋ฆฝ์ ์ผ๋ก ์คํํ๋ ๋์ ์ ์ฌ๋ฌ ๋ชจ๋ ์ฌ์ด์ ๋ค๋๋จ(end-to-end) ์ํธ์์ฉ์ ๊ฒ์ฆํ๋ ํ ์คํธ๊ฐ ํ์ํ ์๋ ์๋ค. ์ด ๋ถ๋ถ์ด ๋จ์ ํ ์คํธ(unit test) ์ ํตํฉ ํ ์คํธ(integration) ๊ฐ์ ์๋ก ๋ค๋ฅธ ์ ์ด๋ค.
2.
Solitary testing (or mocking) doesnโt rely on real data from other units. Sociable testing makes the implicit assumption that other modules are working.
3.
A sociable unit test assumes the other dependencies work with the goal of testing a single unit. An integration test meanwhile aims to test several units successfully work together. At a low level, this can make sociable tests and integration tests look very similar and hence the confusion between them.