{"id":307,"date":"2025-05-22T09:48:11","date_gmt":"2025-05-22T00:48:11","guid":{"rendered":"https:\/\/minna-systems.co.jp\/test\/?p=307"},"modified":"2025-08-27T10:42:35","modified_gmt":"2025-08-27T01:42:35","slug":"test-automation-framework","status":"publish","type":"post","link":"https:\/\/minna-systems.co.jp\/test\/test-automation\/test-automation-framework\/","title":{"rendered":"\u52b9\u7387\u7684\u306a\u958b\u767a\u306e\u305f\u3081\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u54c1\u8cea\u3092\u4fdd\u8a3c\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u624b\u6bb5\u306e\u3072\u3068\u3064\u304c\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u300d\u3067\u3059\u3002\u7279\u306b\u8fd1\u5e74\u306e\u30a2\u30b8\u30e3\u30a4\u30eb\u958b\u767a\u3084DevOps\u306e\u666e\u53ca\u306b\u4f34\u3044\u3001\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u306f\u3082\u306f\u3084\u9078\u629e\u80a2\u3067\u306f\u306a\u304f\u5fc5\u9808\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u3064\u3044\u3066\u3001\u305d\u306e\u57fa\u672c\u304b\u3089\u9078\u5b9a\u57fa\u6e96\u3001\u4e3b\u8981\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u6bd4\u8f03\u3001\u5b9f\u8df5\u7684\u306a\u5c0e\u5165\u65b9\u6cd5\u307e\u3067\u3001\u5305\u62ec\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5358\u4f53\u30c6\u30b9\u30c8\u3068\u306f\u4f55\u304b\uff1f<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\uff08Unit Test\uff09\u3068\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u6700\u5c0f\u69cb\u6210\u5358\u4f4d\uff08\u95a2\u6570\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30af\u30e9\u30b9\u306a\u3069\uff09\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u30c6\u30b9\u30c8\u3067\u3059\u3002\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4ed6\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304b\u3089\u72ec\u7acb\u3057\u3066\u5b9f\u884c\u53ef\u80fd<\/li>\n\n\n\n<li>\u9ad8\u901f\u306b\u5b9f\u884c\u3067\u304d\u308b<\/li>\n\n\n\n<li>\u518d\u73fe\u6027\u304c\u9ad8\u3044<\/li>\n\n\n\n<li>\u958b\u767a\u8005\u81ea\u8eab\u304c\u4f5c\u6210\u30fb\u5b9f\u884c\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u624b\u52d5\u3067\u3053\u308c\u3089\u306e\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u5834\u5408\u3001\u6642\u9593\u3068\u52b4\u529b\u304c\u304b\u304b\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u4eba\u70ba\u7684\u30df\u30b9\u3082\u767a\u751f\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u767b\u5834\u3059\u308b\u306e\u304c\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306e\u5229\u70b9<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3067\u5f97\u3089\u308c\u308b\u4e3b\u306a\u5229\u70b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u958b\u767a\u52b9\u7387\u306e\u5411\u4e0a<\/strong>: \u7e70\u308a\u8fd4\u3057\u5b9f\u884c\u3055\u308c\u308b\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306f\u672c\u6765\u306e\u958b\u767a\u696d\u52d9\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059<\/li>\n\n\n\n<li><strong>\u8fc5\u901f\u306a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af<\/strong>: \u30b3\u30fc\u30c9\u5909\u66f4\u306e\u5f71\u97ff\u3092\u3059\u3050\u306b\u78ba\u8a8d\u3067\u304d\u3001\u65e9\u671f\u306b\u30d0\u30b0\u3092\u767a\u898b\u3067\u304d\u307e\u3059<\/li>\n\n\n\n<li><strong>\u30ea\u30b0\u30ec\u30c3\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306e\u7c21\u7d20\u5316<\/strong>: \u65b0\u6a5f\u80fd\u8ffd\u52a0\u3084\u4fee\u6b63\u306b\u3088\u308b\u65e2\u5b58\u6a5f\u80fd\u3078\u306e\u5f71\u97ff\u3092\u7d20\u65e9\u304f\u691c\u51fa\u3067\u304d\u307e\u3059<\/li>\n\n\n\n<li><strong>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u3057\u3066\u306e\u4fa1\u5024<\/strong>: \u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306f\u4ed5\u69d8\u66f8\u3068\u3057\u3066\u306e\u5f79\u5272\u3082\u679c\u305f\u3057\u3001\u65b0\u30e1\u30f3\u30d0\u30fc\u306e\u7406\u89e3\u3092\u52a9\u3051\u307e\u3059<\/li>\n\n\n\n<li><strong>\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u306e\u5b89\u5168\u6027\u78ba\u4fdd<\/strong>: \u30b3\u30fc\u30c9\u6539\u5584\u6642\u306e\u5b89\u5168\u6027\u3092\u62c5\u4fdd\u3057\u307e\u3059<\/li>\n\n\n\n<li><strong>CI\/CD\u9023\u643a<\/strong>: \u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30fb\u30c7\u30ea\u30d0\u30ea\u30fc\u3068\u9023\u643a\u3057\u3001\u81ea\u52d5\u5316\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u69cb\u7bc9\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3b\u8981\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript\/TypeScript\u5411\u3051<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Jest<\/h4>\n\n\n\n<p>Facebook\u304c\u958b\u767a\u3057\u305fJavaScript\u5411\u3051\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u73fe\u5728\u6700\u3082\u4eba\u6c17\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30bc\u30ed\u30b3\u30f3\u30d5\u30a3\u30b0\uff08\u8a2d\u5b9a\u4e0d\u8981\uff09\u3067\u3059\u3050\u306b\u4f7f\u3044\u59cb\u3081\u3089\u308c\u308b<\/li>\n\n\n\n<li>\u30e2\u30c3\u30af\u6a5f\u80fd\u3001\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u30c6\u30b9\u30c8\u3001\u30b3\u30fc\u30c9\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\u304c\u6a19\u6e96\u3067\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b<\/li>\n\n\n\n<li>React\u3001Vue\u3001Angular\u3001Node.js\u306a\u3069\u3001\u591a\u304f\u306eJavaScript\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u9069\u3057\u3066\u3044\u308b<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">javascript<code><em>\/\/ sum.js<\/em>\nfunction sum(a, b) {\n  return a + b;\n}\nmodule.exports = sum;\n\n<em>\/\/ sum.test.js<\/em>\nconst sum = require('.\/sum');\n\ntest('adds 1 + 2 to equal 3', () =&gt; {\n  expect(sum(1, 2)).toBe(3);\n});<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Mocha + Chai<\/h4>\n\n\n\n<p>\u67d4\u8edf\u6027\u306e\u9ad8\u3044\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Mocha\uff09\u3068\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\uff08Chai\uff09\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ad8\u3044\u67d4\u8edf\u6027\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6027<\/li>\n\n\n\n<li>BDD\uff08\u632f\u308b\u821e\u3044\u99c6\u52d5\u958b\u767a\uff09\u3068TDD\uff08\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\uff09\u4e21\u65b9\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u30b5\u30dd\u30fc\u30c8<\/li>\n\n\n\n<li>\u975e\u540c\u671f\u30c6\u30b9\u30c8\u306b\u5f37\u3044<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">javascript<code><em>\/\/ test.js<\/em>\nconst chai = require('chai');\nconst expect = chai.expect;\nconst sum = require('.\/sum');\n\ndescribe('Sum function', () =&gt; {\n  it('should add two numbers correctly', () =&gt; {\n    expect(sum(1, 2)).to.equal(3);\n  });\n});<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Vitest<\/h4>\n\n\n\n<p>Vue.js\u306e\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067\u4eba\u6c17\u306e\u9ad8\u901f\u306a\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vite\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u9ad8\u901f\u306a\u5b9f\u884c<\/li>\n\n\n\n<li>Jest\u3068\u4e92\u63db\u6027\u306e\u3042\u308bAPI<\/li>\n\n\n\n<li>TypeScript\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30b5\u30dd\u30fc\u30c8<\/li>\n\n\n\n<li>Vue\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c6\u30b9\u30c8\u306b\u6700\u9069\u5316<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">javascript<code><em>\/\/ counter.test.js<\/em>\nimport { test, expect } from 'vitest'\nimport { mount } from '@vue\/test-utils'\nimport Counter from '.\/Counter.vue'\n\ntest('increments value on click', async () =&gt; {\n  const wrapper = mount(Counter)\n  await wrapper.find('button').trigger('click')\n  expect(wrapper.text()).toContain('Count: 1')\n})<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Python\u5411\u3051<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">pytest<\/h4>\n\n\n\n<p>Python\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b7\u30f3\u30d7\u30eb\u3067\u8aad\u307f\u3084\u3059\u3044\u69cb\u6587<\/li>\n\n\n\n<li>\u8c4a\u5bcc\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0<\/li>\n\n\n\n<li>\u5f37\u529b\u306a\u30d5\u30a3\u30af\u30b9\u30c1\u30e3\u30b7\u30b9\u30c6\u30e0<\/li>\n\n\n\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30c6\u30b9\u30c8\u306e\u30b5\u30dd\u30fc\u30c8<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python<code><em># test_sample.py<\/em>\ndef test_sum():\n    assert sum([1, 2, 3]) == 6, \"\u5408\u8a08\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\"\n\ndef test_divide():\n    assert 10 \/ 2 == 5, \"\u9664\u7b97\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\"<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">unittest<\/h4>\n\n\n\n<p>Python\u306e\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u542b\u307e\u308c\u308b\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JUnit\u98a8\u306e\u30af\u30e9\u30b9\u30d9\u30fc\u30b9\u306e\u30c6\u30b9\u30c8\u69cb\u9020<\/li>\n\n\n\n<li>\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u306e\u3067\u8ffd\u52a0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e0d\u8981<\/li>\n\n\n\n<li>\u30c6\u30b9\u30c8\u30c7\u30a3\u30b9\u30ab\u30d0\u30ea\u6a5f\u80fd<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python<code><em># test_sum.py<\/em>\nimport unittest\n\nclass TestSum(unittest.TestCase):\n    def test_sum(self):\n        self.assertEqual(sum([1, 2, 3]), 6, \"\u5408\u8a08\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\")\n\nif __name__ == '__main__':\n    unittest.main()<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Java\u5411\u3051<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">JUnit<\/h4>\n\n\n\n<p>Java\u5411\u3051\u306e\u6700\u3082\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8c4a\u5bcc\u306a\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u30e1\u30bd\u30c3\u30c9<\/li>\n\n\n\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30c6\u30b9\u30c8<\/li>\n\n\n\n<li>\u30c6\u30b9\u30c8\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u7ba1\u7406<\/li>\n\n\n\n<li>\u30e2\u30c3\u30af\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Mockito\uff09\u3068\u306e\u7d71\u5408<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">java<code><em>\/\/ SumTest.java<\/em>\nimport org.junit.Test;\nimport static org.junit.Assert.assertEquals;\n\npublic class SumTest {\n    @Test\n    public void testSum() {\n        Calculator calc = new Calculator();\n        assertEquals(5, calc.sum(2, 3));\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">TestNG<\/h4>\n\n\n\n<p>JUnit\u306e\u62e1\u5f35\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u305f\u3001\u3088\u308a\u591a\u6a5f\u80fd\u306a\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u67d4\u8edf\u306a\u30c6\u30b9\u30c8\u8a2d\u5b9a\uff08XML\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff09<\/li>\n\n\n\n<li>\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f\u30c6\u30b9\u30c8\u5b9f\u884c<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u99c6\u52d5\u30c6\u30b9\u30c8<\/li>\n\n\n\n<li>\u4e26\u5217\u30c6\u30b9\u30c8\u5b9f\u884c<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">PHP\u5411\u3051<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">PHPUnit<\/h4>\n\n\n\n<p>PHP\u5411\u3051\u306e\u6a19\u6e96\u7684\u306a\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP\u958b\u767a\u306b\u304a\u3051\u308b\u4e8b\u5b9f\u4e0a\u306e\u6a19\u6e96<\/li>\n\n\n\n<li>Laravel\u3001Symfony\u306a\u3069\u4e3b\u8981\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306e\u7d71\u5408<\/li>\n\n\n\n<li>\u30b3\u30fc\u30c9\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\u751f\u6210<\/li>\n\n\n\n<li>\u30e2\u30c3\u30af\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u6a5f\u80fd<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php<code>\/\/ SumTest.php\n&lt;?php\nuse PHPUnit\\Framework\\TestCase;\n\nclass SumTest extends TestCase {\n    public function testSum() {\n        $calculator = new Calculator();\n        $this-&gt;assertEquals(5, $calculator-&gt;sum(2, 3));\n    }\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Pest<\/h4>\n\n\n\n<p>PHPUnit\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u3001\u3088\u308a\u7c21\u6f54\u3067\u8868\u73fe\u529b\u8c4a\u304b\u306a\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u5fb4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b7\u30f3\u30d7\u30eb\u3067\u8aad\u307f\u3084\u3059\u3044\u69cb\u6587<\/li>\n\n\n\n<li>PHPUnit\u3068\u306e\u5b8c\u5168\u306a\u4e92\u63db\u6027<\/li>\n\n\n\n<li>\u9ad8\u3044\u751f\u7523\u6027<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php<code>\/\/ test_sum.php\n&lt;?php\n\ntest('sum calculates correctly', function () {\n    $calculator = new Calculator();\n    expect($calculator-&gt;sum(2, 3))-&gt;toBe(5);\n});<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u9078\u5b9a\u306e\u57fa\u6e96<\/h2>\n\n\n\n<p>\u9069\u5207\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u9078\u3076\u969b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u57fa\u6e96\u3092\u8003\u616e\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7279\u6027<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8a00\u8a9e\u30fb\u6280\u8853\u30b9\u30bf\u30c3\u30af<\/strong>: \u4f7f\u7528\u8a00\u8a9e\u3084\u6280\u8853\u30b9\u30bf\u30c3\u30af\u3068\u76f8\u6027\u306e\u826f\u3044\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u9078\u3073\u307e\u3057\u3087\u3046<\/li>\n\n\n\n<li><strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u898f\u6a21<\/strong>: \u5c0f\u898f\u6a21\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306a\u3089\u8a2d\u5b9a\u304c\u7c21\u5358\u306a\u3082\u306e\u304c\u3001\u5927\u898f\u6a21\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306a\u3089\u62e1\u5f35\u6027\u306e\u9ad8\u3044\u3082\u306e\u304c\u9069\u3057\u3066\u3044\u307e\u3059<\/li>\n\n\n\n<li><strong>\u65e2\u5b58\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9<\/strong>: \u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u3001\u65e2\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306e\u4e92\u63db\u6027\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u6a5f\u80fd\u8981\u4ef6<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u6a5f\u80fd<\/strong>: \u30c6\u30b9\u30c8\u7d50\u679c\u3092\u691c\u8a3c\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u306e\u8c4a\u5bcc\u3055\u3068\u4f7f\u3044\u3084\u3059\u3055<\/li>\n\n\n\n<li><strong>\u30e2\u30c3\u30af\/\u30b9\u30bf\u30d6\u6a5f\u80fd<\/strong>: \u5916\u90e8\u4f9d\u5b58\u3092\u5206\u96e2\u3057\u3066\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u306e\u5145\u5b9f\u5ea6<\/li>\n\n\n\n<li><strong>\u975e\u540c\u671f\u30c6\u30b9\u30c8<\/strong>: \u975e\u540c\u671f\u51e6\u7406\u3092\u6271\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u975e\u540c\u671f\u30c6\u30b9\u30c8\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u91cd\u8981<\/li>\n\n\n\n<li><strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30c6\u30b9\u30c8<\/strong>: \u540c\u3058\u30c6\u30b9\u30c8\u30ed\u30b8\u30c3\u30af\u3067\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b\u6a5f\u80fd<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u5b9f\u7528\u6027<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b66\u7fd2\u66f2\u7dda<\/strong>: \u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u304c\u77ed\u671f\u9593\u3067\u7fd2\u5f97\u3067\u304d\u308b\u304b<\/li>\n\n\n\n<li><strong>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u60c5\u5831\u6e90<\/strong>: \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3084\u53c2\u8003\u60c5\u5831\u306e\u5145\u5b9f\u5ea6<\/li>\n\n\n\n<li><strong>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8<\/strong>: \u554f\u984c\u767a\u751f\u6642\u306b\u52a9\u3051\u3092\u5f97\u3089\u308c\u308b\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u6d3b\u767a\u3055<\/li>\n\n\n\n<li><strong>\u7d99\u7d9a\u7684\u306a\u958b\u767a<\/strong>: \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u73fe\u5728\u3082\u6d3b\u767a\u306b\u958b\u767a\u30fb\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3055\u308c\u3066\u3044\u308b\u304b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u7d71\u5408\u6027<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b9f\u884c\u901f\u5ea6<\/strong>: \u5927\u91cf\u306e\u30c6\u30b9\u30c8\u3092\u52b9\u7387\u7684\u306b\u5b9f\u884c\u3067\u304d\u308b\u304b<\/li>\n\n\n\n<li><strong>CI\/CD\u7d71\u5408<\/strong>: CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u306e\u9023\u643a\u306e\u3057\u3084\u3059\u3055<\/li>\n\n\n\n<li><strong>\u30ec\u30dd\u30fc\u30c8\u6a5f\u80fd<\/strong>: \u30c6\u30b9\u30c8\u7d50\u679c\u3084\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u30ec\u30dd\u30fc\u30c8\u6a5f\u80fd\u306e\u5145\u5b9f\u5ea6<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u52b9\u679c\u7684\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306e\u5b9f\u8df5<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u8a2d\u8a08\u306e\u539f\u5247<\/h3>\n\n\n\n<p>\u52b9\u679c\u7684\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u8a2d\u8a08\u3059\u308b\u305f\u3081\u306e\u539f\u5247\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. FIRST\u539f\u5247<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Fast\uff08\u9ad8\u901f\uff09<\/strong>: \u30c6\u30b9\u30c8\u306f\u9ad8\u901f\u306b\u5b9f\u884c\u3067\u304d\u308b\u3079\u304d<\/li>\n\n\n\n<li><strong>Independent\uff08\u72ec\u7acb\uff09<\/strong>: \u30c6\u30b9\u30c8\u9593\u306b\u4f9d\u5b58\u95a2\u4fc2\u304c\u306a\u3044\u3053\u3068<\/li>\n\n\n\n<li><strong>Repeatable\uff08\u518d\u73fe\u6027\uff09<\/strong>: \u3069\u3093\u306a\u74b0\u5883\u3067\u3082\u540c\u3058\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u3053\u3068<\/li>\n\n\n\n<li><strong>Self-validating\uff08\u81ea\u5df1\u691c\u8a3c\uff09<\/strong>: \u30c6\u30b9\u30c8\u306f\u81ea\u52d5\u7684\u306b\u6210\u529f\/\u5931\u6557\u3092\u5224\u5b9a\u3067\u304d\u308b\u3053\u3068<\/li>\n\n\n\n<li><strong>Timely\uff08\u9069\u6642\u6027\uff09<\/strong>: \u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u30b3\u30fc\u30c9\u3068\u8fd1\u3044\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. AAA\uff08Arrange-Act-Assert\uff09\u30d1\u30bf\u30fc\u30f3<\/h4>\n\n\n\n<p>\u30c6\u30b9\u30c8\u3092\u4ee5\u4e0b\u306e3\u3064\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u5206\u3051\u3066\u69cb\u9020\u5316\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Arrange\uff08\u6e96\u5099\uff09<\/strong>: \u30c6\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u524d\u63d0\u6761\u4ef6\u3092\u8a2d\u5b9a<\/li>\n\n\n\n<li><strong>Act\uff08\u5b9f\u884c\uff09<\/strong>: \u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u30e1\u30bd\u30c3\u30c9\u3084\u95a2\u6570\u3092\u5b9f\u884c<\/li>\n\n\n\n<li><strong>Assert\uff08\u691c\u8a3c\uff09<\/strong>: \u7d50\u679c\u304c\u671f\u5f85\u901a\u308a\u304b\u3092\u691c\u8a3c<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 (Jest):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">javascript<code>test('\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u304c\u6210\u529f\u3059\u308b', () =&gt; {\n  <em>\/\/ Arrange<\/em>\n  const userService = new UserService();\n  const newUser = { name: '\u30c6\u30b9\u30c8\u592a\u90ce', email: 'test@example.com' };\n  \n  <em>\/\/ Act<\/em>\n  const result = userService.register(newUser);\n  \n  <em>\/\/ Assert<\/em>\n  expect(result.success).toBe(true);\n  expect(result.userId).toBeDefined();\n});<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e2\u30c3\u30af\u3068\u30b9\u30bf\u30d6\u306e\u6d3b\u7528<\/h3>\n\n\n\n<p>\u5916\u90e8\u4f9d\u5b58\uff08\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001API\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306a\u3069\uff09\u3092\u6301\u3064\u30b3\u30fc\u30c9\u3092\u30c6\u30b9\u30c8\u3059\u308b\u969b\u306b\u306f\u3001\u30e2\u30c3\u30af\u3084\u30b9\u30bf\u30d6\u3092\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u30e2\u30c3\u30af\u3068\u306f<\/h4>\n\n\n\n<p>\u5b9f\u969b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4ee3\u308f\u308a\u306b\u4f7f\u7528\u3055\u308c\u308b\u3001\u632f\u308b\u821e\u3044\u3092\u6a21\u5023\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\u547c\u3073\u51fa\u3057\u306e\u691c\u8a3c\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 (Jest):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">javascript<code>test('\u30e1\u30fc\u30eb\u9001\u4fe1\u30b5\u30fc\u30d3\u30b9\u304c\u6b63\u3057\u304f\u547c\u3070\u308c\u308b', () =&gt; {\n  <em>\/\/ \u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306e\u30e2\u30c3\u30af\u3092\u4f5c\u6210<\/em>\n  const mockEmailService = {\n    sendEmail: jest.fn()\n  };\n  \n  <em>\/\/ \u30e6\u30fc\u30b6\u30fc\u30b5\u30fc\u30d3\u30b9\u306b\u30e2\u30c3\u30af\u3092\u6ce8\u5165<\/em>\n  const userService = new UserService(mockEmailService);\n  \n  <em>\/\/ \u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3092\u5b9f\u884c<\/em>\n  userService.registerAndNotify({ name: '\u5c71\u7530\u592a\u90ce', email: 'yamada@example.com' });\n  \n  <em>\/\/ \u30e1\u30fc\u30eb\u9001\u4fe1\u304c\u6b63\u3057\u3044\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u547c\u3070\u308c\u305f\u304b\u691c\u8a3c<\/em>\n  expect(mockEmailService.sendEmail).toHaveBeenCalledWith(\n    'yamada@example.com',\n    '\u767b\u9332\u5b8c\u4e86\u306e\u304a\u77e5\u3089\u305b',\n    expect.any(String)\n  );\n});<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u30b9\u30bf\u30d6\u3068\u306f<\/h4>\n\n\n\n<p>\u547c\u3073\u51fa\u3055\u308c\u305f\u3068\u304d\u306b\u4e8b\u524d\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u5fdc\u7b54\u3092\u8fd4\u3059\u5358\u7d14\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 (Mockito &#8211; Java):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">java<code>@Test\npublic void testGetUserData() {\n    <em>\/\/ \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4ee3\u308f\u308a\u306b\u30b9\u30bf\u30d6\u3092\u4f7f\u7528<\/em>\n    UserRepository stubRepository = Mockito.mock(UserRepository.class);\n    \n    <em>\/\/ \u30b9\u30bf\u30d6\u306e\u632f\u308b\u821e\u3044\u3092\u5b9a\u7fa9<\/em>\n    when(stubRepository.findById(1L)).thenReturn(\n        new User(1L, \"\u4f50\u85e4\u6b21\u90ce\", \"sato@example.com\")\n    );\n    \n    UserService userService = new UserService(stubRepository);\n    \n    <em>\/\/ \u30c6\u30b9\u30c8\u5b9f\u884c<\/em>\n    User user = userService.getUserById(1L);\n    \n    <em>\/\/ \u691c\u8a3c<\/em>\n    assertEquals(\"\u4f50\u85e4\u6b21\u90ce\", user.getName());\n    assertEquals(\"sato@example.com\", user.getEmail());\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u6e2c\u5b9a\u3068\u8a55\u4fa1<\/h3>\n\n\n\n<p>\u30c6\u30b9\u30c8\u30ab\u30d0\u30ec\u30c3\u30b8\u306f\u3001\u30b3\u30fc\u30c9\u304c\u30c6\u30b9\u30c8\u306b\u3088\u3063\u3066\u3069\u306e\u7a0b\u5ea6\u30ab\u30d0\u30fc\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u793a\u3059\u6307\u6a19\u3067\u3059\u3002\u591a\u304f\u306e\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u306f\u30ab\u30d0\u30ec\u30c3\u30b8\u6e2c\u5b9a\u30c4\u30fc\u30eb\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>Jest \u3067\u306e\u30ab\u30d0\u30ec\u30c3\u30b8\u6e2c\u5b9a\u4f8b:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bash<code>npm test -- --coverage<\/code><\/pre>\n\n\n\n<p>\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\u306e\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>--------------------------------|---------|----------|---------|---------|\nFile                            | % Stmts | % Branch | % Funcs | % Lines |\n--------------------------------|---------|----------|---------|---------|\nAll files                       |   85.71 |    66.67 |      80 |   85.71 |\n calculator.js                  |     100 |      100 |     100 |     100 |\n userService.js                 |   81.82 |       60 |   66.67 |   81.82 |\n--------------------------------|---------|----------|---------|---------|<\/code><\/pre>\n\n\n\n<p>\u30ab\u30d0\u30ec\u30c3\u30b8\u7387\u3092\u9ad8\u3081\u308b\u3053\u3068\u306f\u91cd\u8981\u3067\u3059\u304c\u3001\u6570\u5024\u3060\u3051\u3092\u8ffd\u6c42\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30c6\u30b9\u30c8\u306e\u54c1\u8cea\u306b\u3082\u6ce8\u76ee\u3057\u307e\u3057\u3087\u3046\u3002\u9ad8\u3044\u30ab\u30d0\u30ec\u30c3\u30b8\u7387\u3067\u3082\u3001\u91cd\u8981\u306a\u30a8\u30c3\u30b8\u30b1\u30fc\u30b9\u304c\u30c6\u30b9\u30c8\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u610f\u5473\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u306e\u7d71\u5408<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306e\u52b9\u679c\u3092\u6700\u5927\u5316\u3059\u308b\u306b\u306f\u3001CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u7d71\u5408\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">GitHubActions\u3067\u306e\u7d71\u5408\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">yaml<code><em># .github\/workflows\/test.yml<\/em>\nname: Run Tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    \n    steps:\n    - uses: actions\/checkout@v2\n    \n    - name: Setup Node.js\n      uses: actions\/setup-node@v2\n      with:\n        node-version: '16'\n        \n    - name: Install dependencies\n      run: npm ci\n      \n    - name: Run tests\n      run: npm test\n      \n    - name: Generate coverage report\n      run: npm test -- --coverage\n    \n    - name: Upload coverage report\n      uses: codecov\/codecov-action@v2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Jenkins\u3067\u306e\u7d71\u5408\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">groovy<code><em>\/\/ Jenkinsfile<\/em>\npipeline {\n    agent any\n    \n    stages {\n        stage('Checkout') {\n            steps {\n                checkout scm\n            }\n        }\n        \n        stage('Build') {\n            steps {\n                sh 'npm install'\n            }\n        }\n        \n        stage('Test') {\n            steps {\n                sh 'npm test'\n            }\n            post {\n                always {\n                    junit 'junit.xml'\n                    publishHTML([\n                        allowMissing: false,\n                        alwaysLinkToLastBuild: true,\n                        keepAll: true,\n                        reportDir: 'coverage',\n                        reportFiles: 'index.html',\n                        reportName: 'Coverage Report'\n                    ])\n                }\n            }\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306e\u8ab2\u984c\u3068\u5bfe\u7b56<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u30d5\u30e9\u30c3\u30ad\u30fc\u30c6\u30b9\u30c8\uff08\u4e0d\u5b89\u5b9a\u306a\u30c6\u30b9\u30c8\uff09<\/h3>\n\n\n\n<p>\u540c\u3058\u30b3\u30fc\u30c9\u306b\u5bfe\u3057\u3066\u6642\u3005\u5931\u6557\u3059\u308b\u30c6\u30b9\u30c8\u306f\u3001\u958b\u767a\u8005\u306e\u4fe1\u983c\u3092\u640d\u306a\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u4e3b\u306a\u539f\u56e0\u3068\u5bfe\u7b56:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30bf\u30a4\u30df\u30f3\u30b0\u4f9d\u5b58<\/strong>: \u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3057\u3001\u975e\u540c\u671f\u30b3\u30fc\u30c9\u3092\u9069\u5207\u306b\u6271\u3046<\/li>\n\n\n\n<li><strong>\u74b0\u5883\u4f9d\u5b58<\/strong>: \u30c6\u30b9\u30c8\u306e\u72ec\u7acb\u6027\u3092\u78ba\u4fdd\u3057\u3001\u30c6\u30b9\u30c8\u9593\u3067\u72b6\u614b\u3092\u5171\u6709\u3057\u306a\u3044<\/li>\n\n\n\n<li><strong>\u9806\u5e8f\u4f9d\u5b58<\/strong>: \u30c6\u30b9\u30c8\u304c\u4e92\u3044\u306b\u4f9d\u5b58\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30b3\u30b9\u30c8<\/h3>\n\n\n\n<p>\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3082\u901a\u5e38\u306e\u30b3\u30fc\u30c9\u3068\u540c\u69d8\u306b\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5bfe\u7b56:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u54c1\u8cea\u7dad\u6301<\/strong>: \u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3092\u5b9a\u671f\u7684\u306b\u884c\u3046<\/li>\n\n\n\n<li><strong>\u91cd\u8907\u306e\u6392\u9664<\/strong>: \u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306e\u6d3b\u7528<\/li>\n\n\n\n<li><strong>\u9069\u5207\u306a\u62bd\u8c61\u5316<\/strong>: \u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3082\u9069\u5207\u306b\u62bd\u8c61\u5316\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u3078\u306e\u30c6\u30b9\u30c8\u5c0e\u5165<\/h3>\n\n\n\n<p>\u65e2\u5b58\u306e\u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u3078\u306e\u30c6\u30b9\u30c8\u5c0e\u5165\u306f\u56f0\u96e3\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u6bb5\u968e\u7684\u30a2\u30d7\u30ed\u30fc\u30c1:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6700\u3082\u91cd\u8981\u306a\u90e8\u5206\u304b\u3089\u59cb\u3081\u308b<\/li>\n\n\n\n<li>\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3068\u4e26\u884c\u3057\u3066\u30c6\u30b9\u30c8\u3092\u8ffd\u52a0<\/li>\n\n\n\n<li>\u65b0\u6a5f\u80fd\u958b\u767a\u6642\u306b\u306f\u5fc5\u305a\u30c6\u30b9\u30c8\u3092\u8ffd\u52a0<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u8df5\u7684\u306a\u5c0e\u5165\u30b9\u30c6\u30c3\u30d7<\/h2>\n\n\n\n<p>\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u3092\u5c0e\u5165\u3059\u308b\u305f\u3081\u306e\u5b9f\u8df5\u7684\u306a\u30b9\u30c6\u30c3\u30d7\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u9078\u5b9a<\/strong>: \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8981\u4ef6\u306b\u5408\u3063\u305f\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u9078\u3076<\/li>\n\n\n\n<li><strong>\u30c6\u30b9\u30c8\u74b0\u5883\u69cb\u7bc9<\/strong>: \u30c6\u30b9\u30c8\u5b9f\u884c\u74b0\u5883\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/li>\n\n\n\n<li><strong>CI\/CD\u9023\u643a<\/strong>: \u65e9\u3044\u6bb5\u968e\u3067CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u9023\u643a<\/li>\n\n\n\n<li><strong>\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\u306e\u691c\u8a0e<\/strong>: \u53ef\u80fd\u3067\u3042\u308c\u3070TDD\uff08\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\uff09\u306e\u5c0e\u5165\u3092\u691c\u8a0e<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u73fe\u72b6\u5206\u6790<\/strong>: \u73fe\u5728\u306e\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3092\u5206\u6790\u3057\u3001\u30c6\u30b9\u30c8\u5c0e\u5165\u306e\u512a\u5148\u5ea6\u3092\u6c7a\u5b9a<\/li>\n\n\n\n<li><strong>\u5c0f\u3055\u304f\u59cb\u3081\u308b<\/strong>: \u91cd\u8981\u3067\u6bd4\u8f03\u7684\u72ec\u7acb\u3057\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u304b\u3089\u59cb\u3081\u308b<\/li>\n\n\n\n<li><strong>\u6bb5\u968e\u7684\u62e1\u5927<\/strong>: \u6210\u529f\u4f53\u9a13\u3092\u7a4d\u307f\u91cd\u306d\u306a\u304c\u3089\u3001\u5f90\u3005\u306b\u30c6\u30b9\u30c8\u7bc4\u56f2\u3092\u62e1\u5927<\/li>\n\n\n\n<li><strong>\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3068\u306e\u9023\u643a<\/strong>: \u30b3\u30fc\u30c9\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u30c6\u30b9\u30c8\u3092\u8ffd\u52a0<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c06\u6765\u306e\u30c8\u30ec\u30f3\u30c9\u3068\u767a\u5c55<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306e\u5206\u91ce\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c8\u30ec\u30f3\u30c9\u304c\u898b\u3089\u308c\u307e\u3059\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>AI\u3092\u6d3b\u7528\u3057\u305f\u30c6\u30b9\u30c8\u751f\u6210<\/strong>: AI\u304c\u30b3\u30fc\u30c9\u3092\u5206\u6790\u3057\u3001\u81ea\u52d5\u7684\u306b\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u751f\u6210\u3059\u308b\u6280\u8853<\/li>\n\n\n\n<li><strong>\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u30c6\u30b9\u30c8<\/strong>: UI\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306a\u3069\u306e\u51fa\u529b\u3092\u4ee5\u524d\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u6bd4\u8f03\u3059\u308b\u624b\u6cd5\u306e\u666e\u53ca<\/li>\n\n\n\n<li><strong>\u30d7\u30ed\u30d1\u30c6\u30a3\u30d9\u30fc\u30b9\u30c6\u30b9\u30c8<\/strong>: \u591a\u69d8\u306a\u5165\u529b\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u7279\u5b9a\u306e\u6027\u8cea\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\uff09\u3092\u691c\u8a3c\u3059\u308b\u30c6\u30b9\u30c8\u624b\u6cd5<\/li>\n\n\n\n<li><strong>\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u306e\u30c6\u30b9\u30c8<\/strong>: \u5206\u6563\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3051\u308b\u52b9\u7387\u7684\u306a\u30c6\u30b9\u30c8\u6226\u7565\u306e\u958b\u767a<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306f\u3001\u73fe\u4ee3\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3044\u3066\u4e0d\u53ef\u6b20\u306a\u5b9f\u8df5\u3067\u3059\u3002\u9069\u5207\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u9078\u3073\u3001\u52b9\u679c\u7684\u306a\u30c6\u30b9\u30c8\u8a2d\u8a08\u3092\u884c\u3044\u3001CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u54c1\u8cea\u306e\u9ad8\u3044\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u52b9\u7387\u7684\u306b\u958b\u767a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u306f\u4e00\u671d\u4e00\u5915\u306b\u5b8c\u6210\u3059\u308b\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u30c1\u30fc\u30e0\u5168\u4f53\u3067\u306e\u7d99\u7d9a\u7684\u306a\u53d6\u308a\u7d44\u307f\u304c\u91cd\u8981\u3067\u3059\u3002\u65e5\u3005\u306e\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306b\u81ea\u7136\u3068\u7d44\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u3001\u30c1\u30fc\u30e0\u6587\u5316\u3068\u3057\u3066\u6839\u4ed8\u304b\u305b\u3066\u3044\u304f\u3053\u3068\u304c\u6210\u529f\u306e\u9375\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u7d42\u7684\u306b\u76ee\u6307\u3059\u3079\u304d\u306f\u3001\u30c6\u30b9\u30c8\u306e\u305f\u3081\u306e\u30c6\u30b9\u30c8\u3067\u306f\u306a\u304f\u3001\u3088\u308a\u826f\u3044\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u52b9\u7387\u7684\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3068\u3057\u3066\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3044\u3066\u3001\u54c1\u8cea\u3092\u4fdd\u8a3c\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u624b\u6bb5\u306e\u3072\u3068\u3064\u304c\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u300d\u3067\u3059\u3002\u7279\u306b\u8fd1\u5e74\u306e\u30a2\u30b8\u30e3\u30a4\u30eb\u958b\u767a\u3084DevOps\u306e\u666e\u53ca\u306b\u4f34\u3044\u3001\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u306f\u3082\u306f\u3084\u9078\u629e\u80a2\u3067\u306f\u306a\u304f\u5fc5\u9808\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u5358\u4f53 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":136,"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":[69,71],"tags":[27,29,136,139,33],"class_list":["post-307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-test-automation","category-framework-implementation","tag-tdd","tag-29","tag-136","tag-139","tag-33"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/307","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=307"}],"version-history":[{"count":2,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":1109,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/307\/revisions\/1109"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/media\/136"}],"wp:attachment":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}