{"id":673,"date":"2025-07-07T11:15:56","date_gmt":"2025-07-07T02:15:56","guid":{"rendered":"https:\/\/minna-systems.co.jp\/test\/?p=673"},"modified":"2025-12-15T10:13:32","modified_gmt":"2025-12-15T01:13:32","slug":"boost-code-reliability-practical-unit-test-automation","status":"publish","type":"post","link":"https:\/\/minna-systems.co.jp\/test\/kinds\/boost-code-reliability-practical-unit-test-automation\/","title":{"rendered":"\u300c\u30b3\u30fc\u30c9\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\uff01\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306e\u5b9f\u8df5\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u52b9\u679c\u6e2c\u5b9a\u300d"},"content":{"rendered":"<h2>\u5358\u4f53\u30c6\u30b9\u30c8\u3068\u306f\uff1f\u305d\u306e\u76ee\u7684\u3068\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b\u4f4d\u7f6e\u3065\u3051<\/h2>\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3068\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3044\u3066\u6700\u5c0f\u5358\u4f4d\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u306a\u3069\uff09\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306e\u30c6\u30b9\u30c8\u624b\u6cd5\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6700\u5c0f\u69cb\u6210\u8981\u7d20\u3092\u500b\u5225\u306b\u691c\u8a3c\u3059\u308b\u3053\u3068\u3067\u3001\u30d0\u30b0\u306e\u65e9\u671f\u767a\u898b\u3068\u4fee\u6b63\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<span class=\"swl-marker mark_yellow\">\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u4e3b\u306a\u76ee\u7684\u306f\u3001\u30b3\u30fc\u30c9\u306e\u54c1\u8cea\u4fdd\u8a3c\u3068\u5c06\u6765\u306e\u5909\u66f4\u306b\u5bfe\u3059\u308b\u5b89\u5168\u6027\u306e\u78ba\u4fdd\u3067\u3059\u3002<\/span>\u5404\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4ed5\u69d8\u901a\u308a\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3001\u4e88\u671f\u305b\u306c\u526f\u4f5c\u7528\u304c\u306a\u3044\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3084\u6a5f\u80fd\u8ffd\u52a0\u6642\u306b\u3082\u65e2\u5b58\u6a5f\u80fd\u304c\u58ca\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u7d20\u65e9\u304f\u78ba\u8a8d\u3067\u304d\u308b\u5b89\u5168\u7db2\u3068\u3057\u3066\u306e\u5f79\u5272\u3082\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<h3>\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b\u4f4d\u7f6e\u3065\u3051<\/h3>\n<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306e\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u306b\u304a\u3044\u3066\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u306f\u6700\u3082\u57fa\u672c\u7684\u304b\u3064\u6700\u521d\u306b\u5b9f\u65bd\u3055\u308c\u308b\u30c6\u30b9\u30c8\u3067\u3059\u3002\u4e00\u822c\u7684\u306a\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u3067\u306f\u3001<a href=\"https:\/\/minna-systems.co.jp\/test\/test-base\/software-testing-first-steps\/#index_id4\">\u5358\u4f53\u30c6\u30b9\u30c8<\/a>\u2192<a href=\"https:\/\/minna-systems.co.jp\/test\/test-base\/software-testing-first-steps\/#index_id5\">\u7d50\u5408\u30c6\u30b9\u30c8<\/a>\u2192<a href=\"https:\/\/minna-systems.co.jp\/test\/test-base\/software-testing-first-steps\/#index_id6\">\u30b7\u30b9\u30c6\u30e0\u30c6\u30b9\u30c8<\/a>\u2192<a href=\"https:\/\/minna-systems.co.jp\/test\/test-base\/software-testing-first-steps\/#index_id7\">\u53d7\u3051\u5165\u308c\u30c6\u30b9\u30c8<\/a>\u3068\u3044\u3046\u6d41\u308c\u3067\u54c1\u8cea\u3092\u62c5\u4fdd\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u5358\u4f53\u30c6\u30b9\u30c8\u306f\u958b\u767a\u8005\u81ea\u8eab\u304c\u5b9f\u65bd\u3059\u308b\u30c6\u30b9\u30c8\u3067\u3042\u308a\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u76f4\u5f8c\u306b\u884c\u3046\u3053\u3068\u3067\u3001\u554f\u984c\u306e\u65e9\u671f\u767a\u898b\u3068\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30eb\u30fc\u30d7\u306e\u77ed\u7e2e\u5316\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<a href=\"https:\/\/minna-systems.co.jp\/test\/test-base\/static-vs-dynamic-testing\/#index_id7\">CI\/CD\uff08\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\/\u7d99\u7d9a\u7684\u30c7\u30ea\u30d0\u30ea\u30fc\uff09<\/a>\u74b0\u5883\u3067\u306f\u3001\u30b3\u30fc\u30c9\u5909\u66f4\u306e\u305f\u3073\u306b\u81ea\u52d5\u7684\u306b\u5358\u4f53\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u3001\u54c1\u8cea\u306e\u7d99\u7d9a\u7684\u306a\u76e3\u8996\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<h2>\u52b9\u679c\u7684\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u8a2d\u8a08\u306e\u30dd\u30a4\u30f3\u30c8\u3068\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u4f5c\u6210\u306e\u5b9f\u8df5\u624b\u6cd5<\/h2>\n<p>\u52b9\u679c\u7684\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u8a2d\u8a08\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u3092\u62bc\u3055\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30c6\u30b9\u30c8\u306e\u72ec\u7acb\u6027\u3092\u78ba\u4fdd\u3059\u308b<\/h3>\n<p>\u5404\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306f\u4ed6\u306e\u30c6\u30b9\u30c8\u306b\u4f9d\u5b58\u305b\u305a\u3001\u72ec\u7acb\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u30c6\u30b9\u30c8\u9593\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308b\u3068\u3001\u4e00\u3064\u306e\u30c6\u30b9\u30c8\u306e\u5931\u6557\u304c\u9023\u9396\u7684\u306b\u4ed6\u306e\u30c6\u30b9\u30c8\u306e\u5931\u6557\u3092\u5f15\u304d\u8d77\u3053\u3057\u3001\u554f\u984c\u306e\u7279\u5b9a\u304c\u56f0\u96e3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30c6\u30b9\u30c8\u306e\u518d\u73fe\u6027\u3092\u9ad8\u3081\u308b<\/h3>\n<p><span class=\"swl-marker mark_yellow\">\u30c6\u30b9\u30c8\u306f\u4f55\u5ea6\u5b9f\u884c\u3057\u3066\u3082\u540c\u3058\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3059\u3079\u304d\u3067\u3059\u3002<\/span>\u5916\u90e8\u30ea\u30bd\u30fc\u30b9\uff08\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306a\u3069\uff09\u306b\u4f9d\u5b58\u3059\u308b\u5834\u5408\u306f\u3001\u30e2\u30c3\u30af\u3084\u30b9\u30bf\u30d6\u3092\u6d3b\u7528\u3057\u3066\u74b0\u5883\u306b\u5de6\u53f3\u3055\u308c\u306a\u3044\u30c6\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u4f5c\u6210\u306e\u5b9f\u8df5\u624b\u6cd5<\/h3>\n<p>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u89b3\u70b9\u3092\u8003\u616e\u3059\u308b\u3068\u52b9\u679c\u7684\u3067\u3059\uff1a<\/p>\n<p>1. <strong>\u6b63\u5e38\u7cfb\u30c6\u30b9\u30c8<\/strong>: \u60f3\u5b9a\u901a\u308a\u306e\u5165\u529b\u306b\u5bfe\u3057\u3066\u6b63\u3057\u3044\u51fa\u529b\u304c\u5f97\u3089\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d<br \/>\n2. <strong>\u7570\u5e38\u7cfb\u30c6\u30b9\u30c8<\/strong>: \u4e0d\u6b63\u306a\u5165\u529b\u3084\u5883\u754c\u5024\u306b\u5bfe\u3057\u3066\u9069\u5207\u306a\u30a8\u30e9\u30fc\u51e6\u7406\u304c\u884c\u308f\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d<br \/>\n3. <strong>\u5883\u754c\u5024\u30c6\u30b9\u30c8<\/strong>: \u5165\u529b\u5024\u306e\u7bc4\u56f2\u306e\u5883\u754c\u4ed8\u8fd1\u3067\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d<br \/>\n4. <strong>\u540c\u5024\u5206\u5272<\/strong>: \u540c\u3058\u632f\u308b\u821e\u3044\u3092\u3059\u308b\u5165\u529b\u5024\u306e\u30b0\u30eb\u30fc\u30d7\u3092\u7279\u5b9a\u3057\u3001\u4ee3\u8868\u5024\u3067\u30c6\u30b9\u30c8<\/p>\n<p>\u307e\u305f\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306e\u547d\u540d\u3082\u91cd\u8981\u3067\u3059\u3002\u300c\u4f55\u3092\u30c6\u30b9\u30c8\u3057\u3066\u3044\u308b\u304b\u300d\u304c\u4e00\u76ee\u3067\u308f\u304b\u308b\u547d\u540d\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u306e\u76ee\u7684\u304c\u660e\u78ba\u306b\u306a\u308a\u3001\u5931\u6557\u6642\u306e\u539f\u56e0\u7279\u5b9a\u3082\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u6bd4\u8f03\u3068\u5c0e\u5165\u30b9\u30c6\u30c3\u30d7<\/h2>\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u52b9\u7387\u7684\u306b\u5b9f\u65bd\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u9069\u5207\u306a\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u306e\u9078\u629e\u304c\u91cd\u8981\u3067\u3059\u3002\u4e3b\u8981\u306a\u8a00\u8a9e\u3054\u3068\u306b\u4ee3\u8868\u7684\u306a\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u4e3b\u8981\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u6bd4\u8f03<\/h3>\n<p>&#8211; <strong>Java<\/strong>: JUnit\u3001TestNG\u3001Mockito\uff08\u30e2\u30c3\u30af\u7528\uff09<br \/>\n&#8211; <strong>JavaScript\/TypeScript<\/strong>: Jest\u3001Mocha\u3001Jasmine<br \/>\n&#8211; <strong>Python<\/strong>: pytest\u3001unittest\u3001nose<br \/>\n&#8211; <strong>C#<\/strong>: MSTest\u3001NUnit\u3001xUnit.net<br \/>\n&#8211; <strong>Ruby<\/strong>: RSpec\u3001MiniTest<br \/>\n<span class=\"swl-marker mark_yellow\">\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u9078\u5b9a\u306e\u969b\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8981\u4ef6\u3001\u30c1\u30fc\u30e0\u306e\u7fd2\u719f\u5ea6\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u30b5\u30dd\u30fc\u30c8\u72b6\u6cc1\u3092\u8003\u616e\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/span><\/p>\n<h3>\u5c0e\u5165\u30b9\u30c6\u30c3\u30d7<\/h3>\n<p>1. <strong>\u8981\u4ef6\u5206\u6790<\/strong>: \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u9069\u3057\u305f\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u9078\u5b9a<br \/>\n2. <strong>\u74b0\u5883\u69cb\u7bc9<\/strong>: \u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a<br \/>\n3. <strong>\u30c6\u30b9\u30c8\u8a2d\u8a08<\/strong>: \u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u7279\u5b9a\u3068\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306e\u8a2d\u8a08<br \/>\n4. <strong>\u30c6\u30b9\u30c8\u5b9f\u88c5<\/strong>: \u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u4f5c\u6210<br \/>\n5. <strong>CI\u74b0\u5883\u3068\u306e\u9023\u643a<\/strong>: \u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u3067\u306e\u81ea\u52d5\u5b9f\u884c\u8a2d\u5b9a<br \/>\n\u5c0e\u5165\u521d\u671f\u306f\u5c0f\u898f\u6a21\u306a\u5bfe\u8c61\u304b\u3089\u59cb\u3081\u3001\u5f90\u3005\u306b\u30c6\u30b9\u30c8\u7bc4\u56f2\u3092\u62e1\u5927\u3057\u3066\u3044\u304f\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u52b9\u679c\u7684\u3067\u3059\u3002\u307e\u305f\u3001\u30c1\u30fc\u30e0\u5185\u3067\u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u4f5c\u6210\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3092\u7b56\u5b9a\u3057\u3001\u54c1\u8cea\u306e\u5747\u4e00\u5316\u3092\u56f3\u308b\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h2>\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u30ab\u30d0\u30ec\u30c3\u30b8\u5206\u6790\u3068\u54c1\u8cea\u6307\u6a19\u306e\u6d3b\u7528\u6cd5<\/h2>\n<p>\u30c6\u30b9\u30c8\u306e\u54c1\u8cea\u3092\u5ba2\u89b3\u7684\u306b\u8a55\u4fa1\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30ab\u30d0\u30ec\u30c3\u30b8\u5206\u6790\u306a\u3069\u306e\u6307\u6a19\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u52b9\u679c\u7684\u3067\u3059\u3002<\/p>\n<h3>\u30b3\u30fc\u30c9\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u7a2e\u985e<\/h3>\n<p>&#8211; <strong>\u30e9\u30a4\u30f3\uff08\u884c\uff09\u30ab\u30d0\u30ec\u30c3\u30b8<\/strong>: \u30c6\u30b9\u30c8\u3067\u5b9f\u884c\u3055\u308c\u305f\u30b3\u30fc\u30c9\u884c\u306e\u5272\u5408<br \/>\n&#8211; <strong>\u30d6\u30e9\u30f3\u30c1\u30ab\u30d0\u30ec\u30c3\u30b8<\/strong>: \u6761\u4ef6\u5206\u5c90\u306e\u7db2\u7f85\u7387<br \/>\n&#8211; <strong>\u95a2\u6570\u30ab\u30d0\u30ec\u30c3\u30b8<\/strong>: \u30c6\u30b9\u30c8\u3055\u308c\u305f\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u5272\u5408<br \/>\n&#8211; <strong>\u6761\u4ef6\u30ab\u30d0\u30ec\u30c3\u30b8<\/strong>: \u8907\u5408\u6761\u4ef6\u306e\u5404\u8981\u7d20\u304c\u8a55\u4fa1\u3055\u308c\u305f\u5272\u5408<br \/>\n<span class=\"swl-marker mark_yellow\">\u30ab\u30d0\u30ec\u30c3\u30b8\u306f\u9ad8\u3051\u308c\u3070\u826f\u3044\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u30b3\u30fc\u30c9\u306e\u91cd\u8981\u5ea6\u3084\u8907\u96d1\u3055\u306b\u5fdc\u3058\u3066\u9069\u5207\u306a\u76ee\u6a19\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/span>\u4e00\u822c\u7684\u306b\u306f\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306e\u4e2d\u6838\u90e8\u5206\u306f\u9ad8\u3044\u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u76ee\u6307\u3057\u3001\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3084UI\u30b3\u30fc\u30c9\u306f\u76f8\u5bfe\u7684\u306b\u4f4e\u304f\u3066\u3082\u8a31\u5bb9\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u54c1\u8cea\u6307\u6a19\u306e\u6d3b\u7528\u6cd5<\/h3>\n<p>\u30ab\u30d0\u30ec\u30c3\u30b8\u4ee5\u5916\u306b\u3082\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6307\u6a19\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u7dcf\u5408\u7684\u306a\u54c1\u8cea\u8a55\u4fa1\u3092\u884c\u3046\u3053\u3068\u304c\u52b9\u679c\u7684\u3067\u3059\uff1a<\/p>\n<p>1. <strong>\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u9593<\/strong>: \u9577\u3059\u304e\u308b\u30c6\u30b9\u30c8\u306f\u958b\u767a\u52b9\u7387\u3092\u4e0b\u3052\u308b\u539f\u56e0\u306b\u306a\u308a\u307e\u3059<br \/>\n2. <strong>\u30c6\u30b9\u30c8\u306e\u5b89\u5b9a\u6027<\/strong>: \u540c\u3058\u74b0\u5883\u3067\u5b9f\u884c\u3057\u305f\u969b\u306e\u7d50\u679c\u306e\u4e00\u8cab\u6027<br \/>\n3. <strong>\u30c6\u30b9\u30c8\u5bc6\u5ea6<\/strong>: \u30b3\u30fc\u30c9\u91cf\u306b\u5bfe\u3059\u308b\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u6570\u306e\u6bd4\u7387<br \/>\n4. <strong>\u6b20\u9665\u691c\u51fa\u7387<\/strong>: \u30c6\u30b9\u30c8\u306b\u3088\u3063\u3066\u767a\u898b\u3055\u308c\u305f\u30d0\u30b0\u306e\u5272\u5408<\/p>\n<p>\u3053\u308c\u3089\u306e\u6307\u6a19\u3092\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u5316\u3057\u3001\u7d99\u7d9a\u7684\u306b\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u54c1\u8cea\u306e\u63a8\u79fb\u3092\u53ef\u8996\u5316\u3057\u3001\u6539\u5584\u70b9\u3092\u7279\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u5358\u4f53\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\uff08TDD\uff09\u306e\u5c0e\u5165\u30e1\u30ea\u30c3\u30c8\u3068\u5b9f\u8df5\u30c6\u30af\u30cb\u30c3\u30af<\/h2>\n<p>TDD\uff08Test-Driven Development\uff09\u306f\u300c\u30c6\u30b9\u30c8\u30d5\u30a1\u30fc\u30b9\u30c8\u300d\u306e\u958b\u767a\u624b\u6cd5\u3067\u3001\u5b9f\u88c5\u524d\u306b\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u3053\u3068\u3067\u8a2d\u8a08\u54c1\u8cea\u306e\u5411\u4e0a\u3092\u56f3\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002<\/p>\n<h3>TDD\u306e\u57fa\u672c\u30b5\u30a4\u30af\u30eb<\/h3>\n<p>1. <strong>Red<\/strong>: \u5931\u6557\u3059\u308b\u30c6\u30b9\u30c8\u3092\u66f8\u304f<br \/>\n2. <strong>Green<\/strong>: \u30c6\u30b9\u30c8\u304c\u901a\u308b\u3088\u3046\u306b\u6700\u5c0f\u9650\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u88c5\u3059\u308b<br \/>\n3. <strong>Refactor<\/strong>: \u30b3\u30fc\u30c9\u3092\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3057\u3066\u6539\u5584\u3059\u308b<br \/>\n\u3053\u306e\u30b5\u30a4\u30af\u30eb\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u53ef\u80fd\u306a\u8a2d\u8a08\u3092\u81ea\u7136\u306b\u5c0e\u304d\u51fa\u3057\u3001\u904e\u5270\u306a\u5b9f\u88c5\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>TDD\u5c0e\u5165\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p><span class=\"swl-marker mark_yellow\">TDD\u306e\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u3001\u9ad8\u54c1\u8cea\u306a\u30b3\u30fc\u30c9\u3068\u8a2d\u8a08\u306e\u6539\u5584\u3067\u3059\u3002<\/span>\u30c6\u30b9\u30c8\u3092\u5148\u306b\u66f8\u304f\u3053\u3068\u3067\u3001API\u306e\u4f7f\u3044\u3084\u3059\u3055\u3084\u4f9d\u5b58\u95a2\u4fc2\u306e\u9069\u5207\u3055\u3092\u4e8b\u524d\u306b\u691c\u8a0e\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u3001\u7d50\u679c\u3068\u3057\u3066\u758e\u7d50\u5408\u3067\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u304c\u751f\u307e\u308c\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30c6\u30b9\u30c8\u30ab\u30d0\u30ec\u30c3\u30b8\u304c\u81ea\u7136\u3068\u9ad8\u304f\u306a\u308b\u3053\u3068\u3084\u3001\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u306e\u5b89\u5168\u6027\u304c\u5411\u4e0a\u3059\u308b\u3053\u3068\u3082\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<h3>\u5b9f\u8df5\u30c6\u30af\u30cb\u30c3\u30af<\/h3>\n<p>TDD\u3092\u52b9\u679c\u7684\u306b\u5b9f\u8df5\u3059\u308b\u305f\u3081\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3068\u3057\u3066\u4ee5\u4e0b\u304c\u6319\u3052\u3089\u308c\u307e\u3059\uff1a<\/p>\n<p>1. <strong>\u5c0f\u3055\u306a\u30b9\u30c6\u30c3\u30d7\u3067\u9032\u3081\u308b<\/strong>: \u4e00\u5ea6\u306b\u5927\u304d\u306a\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3088\u3046\u3068\u305b\u305a\u3001\u5c0f\u3055\u306a\u5358\u4f4d\u3067\u6210\u529f\u4f53\u9a13\u3092\u7a4d\u307f\u91cd\u306d\u308b<br \/>\n2. <strong>\u30e2\u30c3\u30af\u3092\u9069\u5207\u306b\u6d3b\u7528<\/strong>: \u5916\u90e8\u4f9d\u5b58\u3092\u6301\u3064\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c6\u30b9\u30c8\u3067\u306f\u3001\u30e2\u30c3\u30af\u3092\u4f7f\u3063\u3066\u4f9d\u5b58\u3092\u5206\u96e2\u3059\u308b<br \/>\n3. <strong>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306e\u512a\u5148\u9806\u4f4d\u4ed8\u3051<\/strong>: \u91cd\u8981\u306a\u6a5f\u80fd\u3084\u8907\u96d1\u306a\u30ed\u30b8\u30c3\u30af\u304b\u3089\u5148\u306b\u30c6\u30b9\u30c8\u3092\u66f8\u304f<\/p>\n<p>TDD\u306e\u5c0e\u5165\u306f\u6700\u521d\u306f\u958b\u767a\u901f\u5ea6\u304c\u843d\u3061\u308b\u3088\u3046\u306b\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u7fd2\u719f\u3059\u308b\u306b\u3064\u308c\u3066\u54c1\u8cea\u5411\u4e0a\u3068\u4e2d\u9577\u671f\u7684\u306a\u958b\u767a\u52b9\u7387\u306e\u6539\u5584\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<h2>\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u9023\u643a\u306b\u3088\u308b\u958b\u767a\u52b9\u7387\u5316<\/h2>\n<p>\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\uff08CI\uff09\u3068\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306e\u52b9\u7387\u5316\u3068\u54c1\u8cea\u5411\u4e0a\u3092\u540c\u6642\u306b\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>CI\u74b0\u5883\u3067\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5b9f\u884c<\/h3>\n<p><span class=\"swl-marker mark_yellow\">GitHub\u3084GitLab\u306a\u3069\u306e\u30b3\u30fc\u30c9\u7ba1\u7406\u30c4\u30fc\u30eb\u3068Jenkins\u3084CircleCI\u306a\u3069\u306eCI\/CD\u30c4\u30fc\u30eb\u3092\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u304c\u767a\u751f\u3059\u308b\u305f\u3073\u306b\u81ea\u52d5\u7684\u306b\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/span>\u3053\u308c\u306b\u3088\u308a\u3001\u554f\u984c\u306e\u65e9\u671f\u767a\u898b\u3068\u5373\u6642\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u52b9\u679c\u7684\u306a\u9023\u643a\u306e\u30dd\u30a4\u30f3\u30c8<\/h3>\n<p>1. <strong>\u30c6\u30b9\u30c8\u5b9f\u884c\u306e\u9ad8\u901f\u5316<\/strong>: \u4e26\u5217\u5b9f\u884c\u3084\u30c6\u30b9\u30c8\u306e\u5206\u5272\u5b9f\u884c\u306a\u3069\u3067\u3001\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30b5\u30a4\u30af\u30eb\u3092\u77ed\u7e2e<br \/>\n2. <strong>\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u53ef\u8996\u5316<\/strong>: \u30c6\u30b9\u30c8\u7d50\u679c\u3084\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\u3092\u958b\u767a\u8005\u304c\u5bb9\u6613\u306b\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<br \/>\n3. <strong>\u54c1\u8cea\u30b2\u30fc\u30c8\u8a2d\u5b9a<\/strong>: \u30c6\u30b9\u30c8\u30ab\u30d0\u30ec\u30c3\u30b8\u3084\u6210\u529f\u7387\u306e\u95be\u5024\u3092\u8a2d\u5b9a\u3057\u3001\u57fa\u6e96\u3092\u6e80\u305f\u3055\u306a\u3044\u5834\u5408\u306f\u30d3\u30eb\u30c9\u3092\u5931\u6557\u3055\u305b\u308b<br \/>\n4. <strong>\u901a\u77e5\u30b7\u30b9\u30c6\u30e0\u306e\u6574\u5099<\/strong>: \u30c6\u30b9\u30c8\u5931\u6557\u6642\u306b\u95a2\u4fc2\u8005\u3078\u81ea\u52d5\u901a\u77e5\u3059\u308b\u4ed5\u7d44\u307f\u3092\u5c0e\u5165<\/p>\n<h3>\u958b\u767a\u30d5\u30ed\u30fc\u3078\u306e\u7d71\u5408<\/h3>\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3068CI\u306e\u9023\u643a\u3092\u6700\u5927\u9650\u306b\u6d3b\u304b\u3059\u305f\u3081\u306b\u306f\u3001\u958b\u767a\u30d5\u30ed\u30fc\u5168\u4f53\u3078\u306e\u7d71\u5408\u304c\u91cd\u8981\u3067\u3059\u3002\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3084\u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u7d44\u307f\u8fbc\u307f\u3001\u54c1\u8cea\u3092\u62c5\u4fdd\u3057\u306a\u304c\u3089\u958b\u767a\u3092\u9032\u3081\u3089\u308c\u308b\u4f53\u5236\u3092\u6574\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u5b9a\u671f\u7684\u306b\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u81ea\u4f53\u306e\u54c1\u8cea\u3082\u898b\u76f4\u3057\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3059\u308b\u3053\u3068\u3067\u3001\u9577\u671f\u7684\u306b\u30c6\u30b9\u30c8\u306e\u4fa1\u5024\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c6\u30b9\u30c8\u304c\u9045\u304f\u306a\u308a\u3059\u304e\u3066\u3044\u306a\u3044\u304b\u3001\u4e0d\u5b89\u5b9a\u306a\u30c6\u30b9\u30c8\u306f\u306a\u3044\u304b\u3001\u30ab\u30d0\u30ec\u30c3\u30b8\u306b\u504f\u308a\u304c\u306a\u3044\u304b\u306a\u3069\u3092\u5b9a\u671f\u7684\u306b\u30c1\u30a7\u30c3\u30af\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u6539\u5584\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3068\u306f\uff1f\u305d\u306e\u76ee\u7684\u3068\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3051\u308b\u4f4d\u7f6e\u3065\u3051 \u5358\u4f53\u30c6\u30b9\u30c8\u3068\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3044\u3066\u6700\u5c0f\u5358\u4f4d\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u306a\u3069\uff09\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306e\u30c6\u30b9\u30c8\u624b\u6cd5\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6700\u5c0f\u69cb\u6210\u8981\u7d20\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":125,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"swell_btn_cv_data":"","footnotes":""},"categories":[97,96],"tags":[27,29,139,33,108],"class_list":["post-673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-level","category-kinds","tag-tdd","tag-29","tag-139","tag-33","tag-108"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/comments?post=673"}],"version-history":[{"count":2,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/673\/revisions"}],"predecessor-version":[{"id":1557,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/673\/revisions\/1557"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/media\/125"}],"wp:attachment":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/media?parent=673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/categories?post=673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/tags?post=673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}