permission

maven test์‹œ ๊ถŒํ•œ(permission) ๋ฌธ์ œ

JoonHo Son
maven test ์ง„ํ–‰์‹œ test case์ค‘ shell script๋ฅผ ์‹คํ–‰ํ•ด์„œ ๊ฒฐ๊ณผ๋ฅผ ๋น„๊ตํ•ด์•ผ ํ•˜๋Š” ๋กœ์ง์ด ์žˆ์—ˆ๋Š”๋ฐ, IDE๊ฐ€ ์•„๋‹Œ ์ผ๋ฐ˜ ์ฝ˜์†”(terminal, iterm ๋“ฑ)์—์„œ mvn test ์‹คํ–‰์‹œ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค(IntelliJ ๋“ฑ์˜ IDE๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” ๋ฐœ์ƒํ•˜์ง€ ์•Š์•˜์Œ). ์ฆ์ƒ์€ test/resources/script ํด๋”์— ์žˆ๋Š” shell script์˜ ์‹คํ–‰ ๊ถŒํ•œ์ด test ์ง„ํ–‰์‹œ target ํด๋”๋กœ ๋ณต์‚ฌ๋˜๋ฉด์„œ ํผ๋ฏธ์…˜(permission)์ด ๋ณ€๊ฒฝ๋˜๋Š” ํ˜„์ƒ์ด์—ˆ๋‹ค. << ํ…Œ์ŠคํŠธ ํŒจํ‚ค์ง€ ๊ตฌ์กฐ >> << ์˜ค๋ฅ˜๋ฉ”์„ธ์ง€ >> << ๋””๋ ‰ํ† ๋ฆฌ ๊ถŒํ•œ >> ํ•ด๋‹น ๋ฌธ์ œ๋Š” ์ด๋ฏธ maven ์ด์Šˆ๋กœ ๋ณด๊ณ ๋œ ์ƒํƒœ(close ๋๋‹ค๊ฐ€ ๋‹ค์‹œ reopen ๋˜์—ˆ์Œ)์ด๋ฉฐ ๊ตฌ๊ธ€๋ง์„ ํ†ตํ•ด maven-antrun-plugin์„ ์ด์šฉํ•˜์—ฌ ํ•ด๊ฒฐํ•˜์˜€๋‹ค.