{"id":42694,"date":"2024-11-13T20:47:56","date_gmt":"2024-11-13T20:47:56","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=42694"},"modified":"2024-11-26T06:34:45","modified_gmt":"2024-11-26T06:34:45","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-%ed%85%8c%ec%8a%a4%ed%8a%b8-%ec%a3%bc%eb%8f%84-%ea%b0%9c%eb%b0%9ctdd","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/42694\/","title":{"rendered":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub780?<\/h2>\n<p>\n        \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uac01 \ub2e8\uc704, \uc989 \ud568\uc218\ub098 \uba54\uc11c\ub4dc \ub4f1\uc758 \ub3c5\ub9bd\uc801\uc778 \uac1c\ubcc4 \uad6c\uc131 \uc694\uc18c\uac00<br \/>\n        \uae30\ub300\ud55c \ub300\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc774\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \uc790\ub3d9\ud654\ub41c \ud14c\uc2a4\ud2b8\ub85c,<br \/>\n        \ucf54\ub4dc\uc758 \uc0ac\uc18c\ud55c \ubcc0\uacbd\uc5d0\ub3c4 \ud504\ub85c\uadf8\ub7a8\uc758 \ub2e4\ub978 \ubd80\ubd84\uc774 \uc601\ud5a5\uc744 \ubc1b\uc9c0 \uc54a\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ub370 \ud544\uc218\uc801\uc785\ub2c8\ub2e4.<br \/>\n        C#\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc73c\uba70, <code>NUnit<\/code>\uc640<br \/>\n        <code>xUnit<\/code>\uc774 \uac00\uc7a5 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>2. \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\ub780?<\/h2>\n<p>\n        \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(Test-Driven Development, TDD)\uc740 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c \ud504\ub85c\uc138\uc2a4<br \/>\n        \uc911 \ud558\ub098\ub85c, \uc2e4\uc81c \ucf54\ub4dc\ub97c \uad6c\ud604\ud558\uae30 \uc804\uc5d0 \ud14c\uc2a4\ud2b8 \ucf54\ub4dc\ub97c \uc791\uc131\ud558\ub294 \uc811\uadfc \ubc29\ubc95\uc785\ub2c8\ub2e4.<br \/>\n        TDD\ub294 \ub2e4\uc74c\uc758 \uc138 \uac00\uc9c0 \ub2e8\uacc4\ub85c \uc774\ub8e8\uc5b4\uc9d1\ub2c8\ub2e4:\n    <\/p>\n<ol>\n<li><strong>Red:<\/strong> \ud14c\uc2a4\ud2b8\ub97c \uba3c\uc800 \uc791\uc131\ud558\uace0, \uc774\ub294 \ub2f9\uc5f0\ud788 \uc2e4\ud328\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Green:<\/strong> \uc2e4\ud328\ud55c \ud14c\uc2a4\ud2b8\ub97c \ud1b5\uacfc \ud560 \uc218 \uc788\ub3c4\ub85d \ucd5c\uc18c\ud55c\uc758 \ucf54\ub4dc \uc791\uc131.<\/li>\n<li><strong>Refactor:<\/strong> \ud1b5\uacfc\ud558\ub294 \ucf54\ub4dc\ub97c \ub9ac\ud329\ud1a0\ub9c1 \ud558\uc5ec \ucf54\ub4dc \ud488\uc9c8 \uac1c\uc120.<\/li>\n<\/ol>\n<h2>3. TDD\uc758 \uc7a5\uc810<\/h2>\n<p>\n        TDD\ub294 \uc5ec\ub7ec \uac00\uc9c0 \uc7a5\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li><strong>\ucf54\ub4dc \ud488\uc9c8 \ud5a5\uc0c1:<\/strong> \ucf54\ub4dc\uac00 \uba85\ud655\ud558\uac8c \uc815\uc758\ub41c \ud14c\uc2a4\ud2b8\ub97c \ud1b5\uacfc\ud574\uc57c \ud558\ubbc0\ub85c,<br \/>\n        \ud488\uc9c8\uc774 \uac1c\uc120\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\ub514\ubc84\uae45 \uc6a9\uc774:<\/strong> \ubc84\uadf8\uac00 \ubc1c\uc0dd\ud560 \uacbd\uc6b0, \uc5b4\ub290 \ud14c\uc2a4\ud2b8\uac00 \uc2e4\ud328\ud588\ub294\uc9c0 \ud655\uc778\ud558\uc5ec<br \/>\n        \ubb38\uc81c\ub97c \uc27d\uac8c \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uba85\uc138\uc11c \uc5ed\ud560:<\/strong> \ud14c\uc2a4\ud2b8\ub294 \uc694\uad6c\uc0ac\ud56d\uc744 \uba85\ud655\ud788 \ubb38\uc11c\ud654\ud558\ubbc0\ub85c,<br \/>\n        \uc774\ud574 \uad00\uacc4\uc790\uc640 \uac1c\ubc1c\uc790 \uac04\uc758 \uc18c\ud1b5\uc774 \uc6d0\ud65c\ud574\uc9d1\ub2c8\ub2e4.<\/li>\n<li><strong>\ub9ac\ud329\ud1a0\ub9c1 \uc9c0\uc6d0:<\/strong> \ucf54\ub4dc \ub9ac\ud329\ud1a0\ub9c1 \uc2dc, \uae30\uc874 \ud14c\uc2a4\ud2b8\uac00 \ubb38\uc81c\uc5c6\uc774 \ud1b5\uacfc\ud558\ub294\uc9c0<br \/>\n        \ud655\uc778\ud560 \uc218 \uc788\uc5b4 \uc790\uc2e0\uac10\uc744 \uac16\uace0 \ucf54\ub4dc\ub97c \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>4. \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95: TDD \uc801\uc6a9\ud558\uae30<\/h2>\n<p>\n        TDD\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc801\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba87 \uac00\uc9c0 \uc2e4\uc6a9\uc801\uc778 \uc804\ub7b5\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.\n    <\/p>\n<h3>4.1 \uac04\ub2e8\ud55c \uc694\uad6c\uc0ac\ud56d \uc815\uc758<\/h3>\n<p>\n        TDD\uc758 \uccab \ubc88\uc9f8 \ub2e8\uacc4\ub294 \uc694\uad6c\uc0ac\ud56d\uc744 \uba85\ud655\ud558\uac8c \uc815\uc758\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4,<br \/>\n        \uac04\ub2e8\ud55c \uacc4\uc0b0\uae30\ub97c \ub9cc\ub4e0\ub2e4\uace0 \uac00\uc815\ud569\uc2dc\ub2e4. \ub367\uc148 \uae30\ub2a5\uc744 \uba3c\uc800 \uc694\uad6c\uc0ac\ud56d\uc73c\ub85c \uc815\ud569\ub2c8\ub2e4.<br \/>\n        \uadf8 \ud6c4, \ud574\ub2f9 \ub367\uc148 \uae30\ub2a5\uc5d0 \ub300\ud55c \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.\n    <\/p>\n<h3>4.2 \ud14c\uc2a4\ud2b8 \ucf54\ub4dc \uc791\uc131<\/h3>\n<p>\ub2e4\uc74c\uc740 C#\uc5d0\uc11c NUnit\uc744 \uc0ac\uc6a9\ud574 \uac04\ub2e8\ud55c \ub367\uc148 \uba54\uc11c\ub4dc\uc5d0 \ub300\ud55c \ud14c\uc2a4\ud2b8\uc785\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-csharp\">\nusing NUnit.Framework;\n\n[TestFixture]\npublic class CalculatorTests\n{\n    [Test]\n    public void Add_TwoPositiveNumbers_ReturnsSum()\n    {\n        \/\/ Arrange\n        var calculator = new Calculator();\n        \n        \/\/ Act\n        var result = calculator.Add(2, 3);\n        \n        \/\/ Assert\n        Assert.AreEqual(5, result);\n    }\n}\n<\/code><\/pre>\n<h3>4.3 \ucf54\ub4dc \uc791\uc131<\/h3>\n<p>\n        \ub2e4\uc74c \ub2e8\uacc4\uc5d0\uc11c\ub294 \uc694\uad6c\uc0ac\ud56d\uc744 \ub9cc\uc871\ud558\uae30 \uc704\ud574 \uc2e4\uc81c \ucf54\ub4dc\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.<br \/>\n        \uc704\uc758 \ud14c\uc2a4\ud2b8\ub97c \ud1b5\uacfc\uc2dc\ud0a4\uae30 \uc704\ud574, \uac04\ub2e8\ud55c <code>Calculator<\/code> \ud074\ub798\uc2a4\ub97c \uc791\uc131\ud569\ub2c8\ub2e4.\n    <\/p>\n<pre><code class=\"language-csharp\">\npublic class Calculator\n{\n    public int Add(int a, int b)\n    {\n        return a + b;\n    }\n}\n<\/code><\/pre>\n<h3>4.4 \ub9ac\ud329\ud1a0\ub9c1<\/h3>\n<p>\n        \ucf54\ub4dc\uac00 \uc791\ub3d9\ud558\uace0 \ud14c\uc2a4\ud2b8\ub97c \ud1b5\uacfc\ud588\ub2e4\uba74, \ub9ac\ud329\ud1a0\ub9c1\uc744 \ud1b5\ud574 \ucf54\ub4dc\ub97c \uac1c\uc120\ud569\ub2c8\ub2e4.<br \/>\n        \uc5ec\ub7ec \uba54\uc11c\ub4dc\ub97c \ucd94\uac00\ud558\uac70\ub098 \ucf54\ub4dc\ub97c \uc815\ub9ac\ud558\uc5ec \uac00\ub3c5\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>5. TDD\uc758 \uc5b4\ub824\uc6c0\uacfc \uadf9\ubcf5 \ubc29\ubc95<\/h2>\n<p>\n        TDD\ub97c \uc801\uc6a9\ud558\ub294 \uacfc\uc815\uc5d0\uc11c \uba87 \uac00\uc9c0 \uc5b4\ub824\uc6c0\uc774 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li><strong>\uc2dc\uac04 \uc18c\ubaa8:<\/strong> \ud14c\uc2a4\ud2b8\ub97c \uba3c\uc800 \uc791\uc131\ud574\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0 \uac1c\ubc1c \uc18d\ub3c4\uac00 \ub290\ub824\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uadf8\ub7ec\ub098 \uc7a5\uae30\uc801\uc73c\ub85c\ub294 \ucf54\ub4dc \ud488\uc9c8\uc774 \ud5a5\uc0c1\ub418\uc5b4 \uc2dc\uac04 \uc808\uc57d\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ubcf5\uc7a1\ud55c \uc694\uad6c\uc0ac\ud56d:<\/strong> \uc694\uad6c\uc0ac\ud56d\uc774 \ubcf5\uc7a1\ud560 \uacbd\uc6b0, \ud14c\uc2a4\ud2b8 \uc791\uc131\uc774 \uc5b4\ub824\uc6b8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774 \uacbd\uc6b0, \uae30\ub2a5\uc744 \uc5ec\ub7ec \uac1c\uc758 \uc870\uac01\uc73c\ub85c \ub098\ub204\uc5b4 \uc27d\uac8c \ud14c\uc2a4\ud2b8\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>6. TDD \ub3c4\uad6c\uc640 \ub9ac\uc18c\uc2a4<\/h2>\n<p>\n        \ub2e4\uc74c\uc740 TDD\ub97c \uc9c0\uc6d0\ud558\ub294 \uc720\uc6a9\ud55c \ub3c4\uad6c \ubc0f \ub9ac\uc18c\uc2a4\uc785\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li><strong>NUnit:<\/strong> C#\uc744 \uc704\ud55c \ubaa8\ub4e0 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\ub294 \ud504\ub808\uc784\uc6cc\ud06c.<\/li>\n<li><strong>xUnit:<\/strong> \ubaa8\ub358 C# \uac1c\ubc1c\uc5d0 \uc801\ud569\ud55c \uc720\ub2db \ud14c\uc2a4\ud2b8 \ud504\ub808\uc784\uc6cc\ud06c.<\/li>\n<li><strong>Moq:<\/strong> \ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc758\uc874\uc131\uc744 \uc8fc\uc785\ud560 \uc218 \uc788\ub294 \ubaa8\ud0b9 \ub77c\uc774\ube0c\ub7ec\ub9ac.<\/li>\n<\/ul>\n<h2>7. \uacb0\ub860<\/h2>\n<p>\n        TDD\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c \uacfc\uc815\uc5d0\uc11c \ucf54\ub4dc \ud488\uc9c8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uace0, \ubc84\uadf8\ub97c \uc608\ubc29\ud558\uba70,<br \/>\n        \uc694\uad6c\uc0ac\ud56d\uc5d0 \ub300\ud55c \uba85\ud655\ud55c \ubb38\uc11c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uac1c\ubc1c\uc790\ub294 TDD\ub97c \ud1b5\ud574 \uc790\uc2e0\uac10\uc744 \uac00\uc9c0\uace0<br \/>\n        \ucf54\ub4dc\ub97c \uc791\uc131\ud558\uba70 \ube60\ub974\uac8c \ubcc0\ud654\ud558\ub294 \uc694\uad6c\uc0ac\ud56d\uc5d0 \uc801\uc751\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc624\ub298 \ubc30\uc6b4 \ub0b4\uc6a9\uc744 \ubc14\ud0d5\uc73c\ub85c TDD\ub97c \uc2e4\ubb34\uc5d0 \uc801\uc6a9\ud574 \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub780? \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uac01 \ub2e8\uc704, \uc989 \ud568\uc218\ub098 \uba54\uc11c\ub4dc \ub4f1\uc758 \ub3c5\ub9bd\uc801\uc778 \uac1c\ubcc4 \uad6c\uc131 \uc694\uc18c\uac00 \uae30\ub300\ud55c \ub300\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc774\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \uc790\ub3d9\ud654\ub41c \ud14c\uc2a4\ud2b8\ub85c, \ucf54\ub4dc\uc758 \uc0ac\uc18c\ud55c \ubcc0\uacbd\uc5d0\ub3c4 \ud504\ub85c\uadf8\ub7a8\uc758 \ub2e4\ub978 \ubd80\ubd84\uc774 \uc601\ud5a5\uc744 \ubc1b\uc9c0 \uc54a\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ub370 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. C#\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc73c\uba70, NUnit\uc640 xUnit\uc774 \uac00\uc7a5 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4. 2. \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/42694\/\" 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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95&#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-42694","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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95 - \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\/42694\/\" \/>\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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub780? \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uac01 \ub2e8\uc704, \uc989 \ud568\uc218\ub098 \uba54\uc11c\ub4dc \ub4f1\uc758 \ub3c5\ub9bd\uc801\uc778 \uac1c\ubcc4 \uad6c\uc131 \uc694\uc18c\uac00 \uae30\ub300\ud55c \ub300\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc774\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \uc790\ub3d9\ud654\ub41c \ud14c\uc2a4\ud2b8\ub85c, \ucf54\ub4dc\uc758 \uc0ac\uc18c\ud55c \ubcc0\uacbd\uc5d0\ub3c4 \ud504\ub85c\uadf8\ub7a8\uc758 \ub2e4\ub978 \ubd80\ubd84\uc774 \uc601\ud5a5\uc744 \ubc1b\uc9c0 \uc54a\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ub370 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. C#\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc73c\uba70, NUnit\uc640 xUnit\uc774 \uac00\uc7a5 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4. 2. \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 &hellip; \ub354 \ubcf4\uae30 &quot;[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/42694\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-13T20:47:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:34:45+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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/42694\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42694\/\"},\"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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95\",\"datePublished\":\"2024-11-13T20:47:56+00:00\",\"dateModified\":\"2024-11-26T06:34:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42694\/\"},\"wordCount\":30,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"csharp\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/42694\/\",\"url\":\"https:\/\/atmokpo.com\/w\/42694\/\",\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-13T20:47:56+00:00\",\"dateModified\":\"2024-11-26T06:34:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42694\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/42694\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/42694\/#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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95\"}]},{\"@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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95 - \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\/42694\/","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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc720\ub2db \ud14c\uc2a4\ud2b8\ub780? \uc720\ub2db \ud14c\uc2a4\ud2b8\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uac01 \ub2e8\uc704, \uc989 \ud568\uc218\ub098 \uba54\uc11c\ub4dc \ub4f1\uc758 \ub3c5\ub9bd\uc801\uc778 \uac1c\ubcc4 \uad6c\uc131 \uc694\uc18c\uac00 \uae30\ub300\ud55c \ub300\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \uacfc\uc815\uc785\ub2c8\ub2e4. \uc774\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \uc790\ub3d9\ud654\ub41c \ud14c\uc2a4\ud2b8\ub85c, \ucf54\ub4dc\uc758 \uc0ac\uc18c\ud55c \ubcc0\uacbd\uc5d0\ub3c4 \ud504\ub85c\uadf8\ub7a8\uc758 \ub2e4\ub978 \ubd80\ubd84\uc774 \uc601\ud5a5\uc744 \ubc1b\uc9c0 \uc54a\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ub370 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. C#\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc720\ub2db \ud14c\uc2a4\ud2b8\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc73c\uba70, NUnit\uc640 xUnit\uc774 \uac00\uc7a5 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4. 2. \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 &hellip; \ub354 \ubcf4\uae30 \"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95\"","og_url":"https:\/\/atmokpo.com\/w\/42694\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-13T20:47:56+00:00","article_modified_time":"2024-11-26T06:34:45+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/42694\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/42694\/"},"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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95","datePublished":"2024-11-13T20:47:56+00:00","dateModified":"2024-11-26T06:34:45+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/42694\/"},"wordCount":30,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["csharp"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/42694\/","url":"https:\/\/atmokpo.com\/w\/42694\/","name":"[\uac1d\uccb4\uc9c0\ud5a5] 7.\uc720\ub2db \ud14c\uc2a4\ud2b8\uc640 \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-13T20:47:56+00:00","dateModified":"2024-11-26T06:34:45+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/42694\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/42694\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/42694\/#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), \ud14c\uc2a4\ud2b8 \uc8fc\ub3c4 \uac1c\ubc1c(TDD)\uc758 \uc7a5\uc810\uacfc \uc2e4\uc6a9\uc801\uc778 \uc811\uadfc \ubc29\ubc95"}]},{"@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\/42694","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=42694"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42694\/revisions"}],"predecessor-version":[{"id":42771,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42694\/revisions\/42771"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=42694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=42694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=42694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}