{"id":42726,"date":"2024-11-13T20:48:09","date_gmt":"2024-11-13T20:48:09","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=42726"},"modified":"2024-11-26T06:34:38","modified_gmt":"2024-11-26T06:34:38","slug":"7-%ec%9c%a0%eb%8b%9b-%ed%85%8c%ec%8a%a4%ed%8a%b8%ec%99%80-%ed%85%8c%ec%8a%a4%ed%8a%b8-%ec%a3%bc%eb%8f%84-%ea%b0%9c%eb%b0%9ctdd-nunit%ea%b3%bc-xunit%ec%9d%84-%ec%82%ac%ec%9a%a9%ed%95%9c-%ec%9c%a0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/42726\/","title":{"rendered":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131"},"content":{"rendered":"<p><body><\/p>\n<p>\uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uc720\ub2db \ud14c\uc2a4\ud2b8(Unit Testing)\ub294 \ucf54\ub4dc\uc758 \uae30\ub2a5\uc774 \uc62c\ubc14\ub974\uac8c \uc791\ub3d9\ud558\ub294\uc9c0\ub97c \uac80\uc99d\ud558\ub294 \ud544\uc218\uc801\uc778 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uac1c\ubcc4 \ubaa8\ub4c8 \ub610\ub294 \uad6c\uc131 \uc694\uc18c\ub97c \ud14c\uc2a4\ud2b8\ud558\uc5ec, \ucf54\ub4dc \ubcc0\uacbd \uc2dc \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub97c \uc0ac\uc804\uc5d0 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(Test-Driven Development, TDD)\uc740 \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uba3c\uc800 \uc791\uc131\ud55c \ud6c4 \uadf8\uc5d0 \ub9de\ucdb0 \ucf54\ub4dc\ub97c \uac1c\ubc1c\ud558\ub294 \uac1c\ubc1c \ubc29\ubc95\ub860\uc785\ub2c8\ub2e4. \uc624\ub298\uc740 NUnit\uacfc XUnit\uc744 \ud65c\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub780?<\/h2>\n<p>\uc720\ub2db \ud14c\uc2a4\ud2b8\ub780 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uac1c\ubcc4 \uc720\ub2db(\ud568\uc218, \uba54\uc11c\ub4dc, \ud074\ub798\uc2a4 \ub4f1)\uc744 \uac80\uc99d\ud558\ub294 \ud14c\uc2a4\ud2b8\ub97c \ub9d0\ud569\ub2c8\ub2e4. \uac01 \uc720\ub2db\uc740 \ub3c5\ub9bd\uc801\uc73c\ub85c \ud14c\uc2a4\ud2b8\ub420 \uc218 \uc788\uc5b4\uc57c \ud558\uba70, \uc774\ub85c \uc778\ud574 \uac1c\ubc1c\uc790\ub294 \ucf54\ub4dc\uc758 \uc9c8\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc720\ub2db \ud14c\uc2a4\ud2b8\uc758 \uc8fc\uc694 \ubaa9\uc801\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ubc84\uadf8 \ubc1c\uacac: \ucf54\ub4dc\ub97c \ubcc0\uacbd\ud560 \ub54c \ubc1c\uc0dd\ud558\ub294 \ubc84\uadf8\ub97c \uc870\uae30\uc5d0 \ubc1c\uacac<\/li>\n<li>\ucf54\ub4dc \uac1c\uc120: \ub9ac\ud329\ud1a0\ub9c1 \ubc0f \ucd5c\uc801\ud654 \uc2dc \uae30\uc874 \uae30\ub2a5\uc774 \uc815\uc0c1 \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778<\/li>\n<li>\ubb38\uc11c\ud654: \ucf54\ub4dc\uc758 \uc0ac\uc6a9\ubc95\uc744 \ubb38\uc11c\ud654\ud558\ub294 \uc5ed\ud560<\/li>\n<\/ul>\n<h2>2. \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)<\/h2>\n<p>\ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc740 &#8220;\uba3c\uc800 \ud14c\uc2a4\ud2b8\ub97c \uc124\uacc4\ud558\uace0, \uadf8 \ub2e4\uc74c\uc5d0 \ucf54\ub4dc\ub97c \uc791\uc131\ud558\ub294&#8221; \uac1c\ubc1c \ud504\ub85c\uc138\uc2a4\uc785\ub2c8\ub2e4. TDD\uc758 Cycle\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub85c \uc774\ub8e8\uc5b4\uc9d1\ub2c8\ub2e4:<\/p>\n<ol>\n<li><strong>Red<\/strong>: \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud558\uc5ec \uc2e4\ud328\ud558\ub294 \uac83\uc744 \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Green<\/strong>: \uc2e4\ud328\ud55c \ud14c\uc2a4\ud2b8\ub97c \ud1b5\uacfc\ud558\ub3c4\ub85d \ucd5c\uc18c\ud55c\uc758 \ucf54\ub4dc\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Refactor<\/strong>: \ucf54\ub4dc\ub97c \uac1c\uc120\ud558\uace0 \ud14c\uc2a4\ud2b8\uac00 \uc5ec\uc804\ud788 \ud1b5\uacfc\ud558\ub294\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\uc774\ub7ec\ud55c \ud504\ub85c\uc138\uc2a4\ub97c \ubc18\ubcf5\ud568\uc73c\ub85c\uc368, \ucf54\ub4dc\uc758 \uad6c\uc870\ub97c \uac1c\uc120\ud558\uace0 \ubc84\uadf8\ub97c \uc904\uc774\uba70, \uc644\uc804\ud55c \ud14c\uc2a4\ud2b8 \ucee4\ubc84\ub9ac\uc9c0\ub97c \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. NUnit\uacfc XUnit<\/h2>\n<h3>NUnit<\/h3>\n<p>NUnit\uc740 .NET \uc6a9 \uc720\ub2db \ud14c\uc2a4\ud2b8 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uac04\ub2e8\ud55c \uad6c\ubb38\uc744 \ud1b5\ud574 \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. NUnit\uc744 \uc0ac\uc6a9\ud560 \ub54c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc8fc\uc694 \uc5b4\ud2b8\ub9ac\ubdf0\ud2b8\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><code>[Test]<\/code>: \ud2b9\uc815 \uba54\uc11c\ub4dc\uac00 \ud14c\uc2a4\ud2b8\uc784\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/li>\n<li><code>[SetUp]<\/code>: \uac01 \ud14c\uc2a4\ud2b8 \uc2e4\ud589 \uc804\uc5d0 \ubc18\ub4dc\uc2dc \ud638\ucd9c\ub418\ub294 \uba54\uc11c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><code>[TearDown]<\/code>: \ud14c\uc2a4\ud2b8\uac00 \ub05d\ub09c \ud6c4 \ud638\ucd9c\ub418\ub294 \uba54\uc11c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>XUnit<\/h3>\n<p>XUnit \ub610\ud55c .NET\uc5d0\uc11c \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \uc720\ub2db \ud14c\uc2a4\ud2b8 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. XUnit\uc758 \ud2b9\uc9d5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc720\uc5f0\ud55c \uc5b4\ud2b8\ub9ac\ubdf0\ud2b8: XUnit\uc758 \uacbd\uc6b0 [Fact], [Theory] \uac19\uc740 \uc5b4\ud2b8\ub9ac\ubdf0\ud2b8\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc758\uc874\uc131 \uc8fc\uc785: \ud14c\uc2a4\ud2b8 \ud074\ub798\uc2a4\uc5d0 DI(Dependency Injection)\ub97c \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>4. NUnit\uc744 \uc774\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc608\uc81c<\/h2>\n<h3>4.1. NUnit \uc124\uce58<\/h3>\n<p>NUnit\uc744 \uc0ac\uc6a9\ud558\ub824\uba74 NuGet \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Visual Studio\uc5d0\uc11c NuGet \ud328\ud0a4\uc9c0 \uad00\ub9ac\uc790\uc5d0 \uc811\uc18d\ud558\uc5ec \ub2e4\uc74c\uacfc \uac19\uc740 \uba85\ub839\uc5b4\ub85c \uc124\uce58\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>Install-Package NUnit<\/code><\/pre>\n<h3>4.2. \uae30\ubcf8 \ud14c\uc2a4\ud2b8 \ucf54\ub4dc<\/h3>\n<p>\uc544\ub798\ub294 NUnit\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub450 \uc22b\uc790\ub97c \ub354\ud558\ub294 \uba54\uc11c\ub4dc\uc758 \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>using NUnit.Framework;\n\n    public class MathOperations\n    {\n        public int Add(int a, int b)\n        {\n            return a + b;\n        }\n    }\n\n    [TestFixture]\n    public class MathOperationsTests\n    {\n        private MathOperations _mathOperations;\n\n        [SetUp]\n        public void Setup()\n        {\n            _mathOperations = new MathOperations();\n        }\n\n        [Test]\n        public void Add_TwoPositiveNumbers_ReturnsCorrectSum()\n        {\n            var result = _mathOperations.Add(2, 3);\n            Assert.AreEqual(5, result);\n        }\n    }<\/code><\/pre>\n<h2>5. XUnit\uc744 \uc774\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc608\uc81c<\/h2>\n<h3>5.1. XUnit \uc124\uce58<\/h3>\n<p>XUnit \uc5ed\uc2dc NuGet \ud328\ud0a4\uc9c0 \uad00\ub9ac\uc790\ub97c \ud1b5\ud574 \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>Install-Package xunit<\/code><\/pre>\n<h3>5.2. \uae30\ubcf8 \ud14c\uc2a4\ud2b8 \ucf54\ub4dc<\/h3>\n<p>\uc544\ub798\ub294 XUnit\uc744 \ud1b5\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>using Xunit;\n\n    public class MathOperations\n    {\n        public int Add(int a, int b)\n        {\n            return a + b;\n        }\n    }\n\n    public class MathOperationsTests\n    {\n        [Fact]\n        public void Add_TwoPositiveNumbers_ReturnsCorrectSum()\n        {\n            var mathOperations = new MathOperations();\n            var result = mathOperations.Add(2, 3);\n            Assert.Equal(5, result);\n        }\n    }<\/code><\/pre>\n<h2>6. TDD\uc758 \uc6d0\ub9ac\ub97c \uc801\uc6a9\ud55c \uc608\uc81c<\/h2>\n<h3>6.1. \uc694\uad6c \uc0ac\ud56d \uc815\uc758<\/h3>\n<p>\uc0ac\uc6a9\uc790 \uc694\uad6c \uc0ac\ud56d: \uc0ac\uc6a9\uc790\uac00 \ub450 \uc22b\uc790\ub97c \uacf1\ud560 \uc218 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>6.2. \uc2e4\ud328\ud558\ub294 \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4 \uc791\uc131<\/h3>\n<pre><code>using Xunit;\n\n    public class MathOperationsTests\n    {\n        [Fact]\n        public void Multiply_TwoNumbers_ReturnsCorrectProduct()\n        {\n            var mathOperations = new MathOperations();\n            var result = mathOperations.Multiply(2, 3);\n            Assert.Equal(6, result);\n        }\n    }<\/code><\/pre>\n<h3>6.3. \uc2e4\uc81c \uba54\uc11c\ub4dc \uad6c\ud604<\/h3>\n<pre><code>public class MathOperations\n    {\n        public int Multiply(int a, int b)\n        {\n            \/\/ Initially return a placeholder value\n            return 0; \n        }\n    }<\/code><\/pre>\n<h3>6.4. \ud14c\uc2a4\ud2b8 \ud1b5\uacfc\ub97c \uc704\ud574 \uba54\uc11c\ub4dc \uc218\uc815<\/h3>\n<pre><code>public int Multiply(int a, int b)\n    {\n        return a * b;\n    }<\/code><\/pre>\n<h2>7. \uacb0\ub860<\/h2>\n<p>\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 TDD\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc758 \ud544\uc218 \uc694\uc18c\ub85c, NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud6a8\uc728\uc801\uc774\uace0 \uc720\uc6a9\ud55c \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud504\ub85c\uc138\uc2a4\ub97c \ud1b5\ud574 \ucf54\ub4dc\uc758 \uc815\ud655\uc131\uc744 \ub192\uc774\uace0, \uc720\uc9c0\ubcf4\uc218\ub97c \uc27d\uac8c \ud558\uba70, \uc548\uc815\uc801\uc778 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc744 \ud1b5\ud574 \uc720\ub2db \ud14c\uc2a4\ud2b8\uc758 \uc911\uc694\uc131\uacfc TDD\uc758 \uac00\uce58\ub97c \uc778\uc2dd\ud558\uace0, \uc2e4\uc81c \uac1c\ubc1c\uc5d0 \uc801\uc6a9\ud574 \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uc720\ub2db \ud14c\uc2a4\ud2b8(Unit Testing)\ub294 \ucf54\ub4dc\uc758 \uae30\ub2a5\uc774 \uc62c\ubc14\ub974\uac8c \uc791\ub3d9\ud558\ub294\uc9c0\ub97c \uac80\uc99d\ud558\ub294 \ud544\uc218\uc801\uc778 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uac1c\ubcc4 \ubaa8\ub4c8 \ub610\ub294 \uad6c\uc131 \uc694\uc18c\ub97c \ud14c\uc2a4\ud2b8\ud558\uc5ec, \ucf54\ub4dc \ubcc0\uacbd \uc2dc \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub97c \uc0ac\uc804\uc5d0 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(Test-Driven Development, TDD)\uc740 \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uba3c\uc800 \uc791\uc131\ud55c \ud6c4 \uadf8\uc5d0 \ub9de\ucdb0 \ucf54\ub4dc\ub97c \uac1c\ubc1c\ud558\ub294 \uac1c\ubc1c \ubc29\ubc95\ub860\uc785\ub2c8\ub2e4. \uc624\ub298\uc740 NUnit\uacfc XUnit\uc744 \ud65c\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud558\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/42726\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[241],"tags":[],"class_list":["post-42726","post","type-post","status-publish","format-standard","hentry","category-csharp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/42726\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uc720\ub2db \ud14c\uc2a4\ud2b8(Unit Testing)\ub294 \ucf54\ub4dc\uc758 \uae30\ub2a5\uc774 \uc62c\ubc14\ub974\uac8c \uc791\ub3d9\ud558\ub294\uc9c0\ub97c \uac80\uc99d\ud558\ub294 \ud544\uc218\uc801\uc778 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uac1c\ubcc4 \ubaa8\ub4c8 \ub610\ub294 \uad6c\uc131 \uc694\uc18c\ub97c \ud14c\uc2a4\ud2b8\ud558\uc5ec, \ucf54\ub4dc \ubcc0\uacbd \uc2dc \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub97c \uc0ac\uc804\uc5d0 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(Test-Driven Development, TDD)\uc740 \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uba3c\uc800 \uc791\uc131\ud55c \ud6c4 \uadf8\uc5d0 \ub9de\ucdb0 \ucf54\ub4dc\ub97c \uac1c\ubc1c\ud558\ub294 \uac1c\ubc1c \ubc29\ubc95\ub860\uc785\ub2c8\ub2e4. \uc624\ub298\uc740 NUnit\uacfc XUnit\uc744 \ud65c\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/42726\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-13T20:48:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:34:38+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/42726\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42726\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131\",\"datePublished\":\"2024-11-13T20:48:09+00:00\",\"dateModified\":\"2024-11-26T06:34:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42726\/\"},\"wordCount\":51,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"csharp\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/42726\/\",\"url\":\"https:\/\/atmokpo.com\/w\/42726\/\",\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-13T20:48:09+00:00\",\"dateModified\":\"2024-11-26T06:34:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42726\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/42726\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/42726\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/42726\/","og_locale":"ko_KR","og_type":"article","og_title":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uc720\ub2db \ud14c\uc2a4\ud2b8(Unit Testing)\ub294 \ucf54\ub4dc\uc758 \uae30\ub2a5\uc774 \uc62c\ubc14\ub974\uac8c \uc791\ub3d9\ud558\ub294\uc9c0\ub97c \uac80\uc99d\ud558\ub294 \ud544\uc218\uc801\uc778 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uac1c\ubcc4 \ubaa8\ub4c8 \ub610\ub294 \uad6c\uc131 \uc694\uc18c\ub97c \ud14c\uc2a4\ud2b8\ud558\uc5ec, \ucf54\ub4dc \ubcc0\uacbd \uc2dc \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub97c \uc0ac\uc804\uc5d0 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(Test-Driven Development, TDD)\uc740 \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uba3c\uc800 \uc791\uc131\ud55c \ud6c4 \uadf8\uc5d0 \ub9de\ucdb0 \ucf54\ub4dc\ub97c \uac1c\ubc1c\ud558\ub294 \uac1c\ubc1c \ubc29\ubc95\ub860\uc785\ub2c8\ub2e4. \uc624\ub298\uc740 NUnit\uacfc XUnit\uc744 \ud65c\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 \"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131\"","og_url":"https:\/\/atmokpo.com\/w\/42726\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-13T20:48:09+00:00","article_modified_time":"2024-11-26T06:34:38+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/42726\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/42726\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131","datePublished":"2024-11-13T20:48:09+00:00","dateModified":"2024-11-26T06:34:38+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/42726\/"},"wordCount":51,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["csharp"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/42726\/","url":"https:\/\/atmokpo.com\/w\/42726\/","name":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-13T20:48:09+00:00","dateModified":"2024-11-26T06:34:38+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/42726\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/42726\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/42726\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), NUnit\uacfc XUnit\uc744 \uc0ac\uc6a9\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \uc791\uc131"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=42726"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42726\/revisions"}],"predecessor-version":[{"id":42753,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42726\/revisions\/42753"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=42726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=42726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=42726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}