{"id":1409,"date":"2021-10-08T17:00:39","date_gmt":"2021-10-08T08:00:39","guid":{"rendered":"https:\/\/weseek.co.jp\/tech\/?p=1409"},"modified":"2023-04-17T11:20:42","modified_gmt":"2023-04-17T02:20:42","slug":"railsrspec%e3%81%a7%e6%b0%97%e8%bb%bd%e3%81%ab%e5%a7%8b%e3%82%81%e3%82%8b%e3%83%86%e3%82%b9%e3%83%88","status":"publish","type":"post","link":"https:\/\/weseek.co.jp\/tech\/1409\/","title":{"rendered":"Rails+RSpec\u3067\u6c17\u8efd\u306b\u59cb\u3081\u308b\u30c6\u30b9\u30c8"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001 2021\/9\/30 \u306b\u884c\u308f\u308c\u305f WESEEK Tech Conference \u306e\u5185\u5bb9\u3067\u3059\u3002<\/p>\n<h1>\u76ee\u6b21<\/h1>\n\n<p><!--more--><\/p>\n<h1>\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u666e\u6bb5\u601d\u3046\u3053\u3068<\/h1>\n<p>\u307f\u306a\u3055\u3093\u666e\u6bb5\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u601d\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/p>\n<ul>\n<li>\u30c6\u30b9\u30c8\u3092\u3069\u3053\u304b\u3089\u66f8\u3044\u3066\u3044\u3051\u3070\u3044\u3044\u304b\u308f\u304b\u3089\u306a\u3044<\/li>\n<li>\u30c6\u30b9\u30c8\u306e\u7121\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3069\u3046\u3084\u3063\u3066\u5c0e\u5165\u3059\u308c\u3070\u3044\u3044\u306e\u304b<\/li>\n<li>\u307e\u3057\u3066\u3084\u3001TDD\u306f\u6577\u5c45\u304c\u9ad8\u305d\u3046<\/li>\n<li>\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u6642\u9593\u304c\u306a\u3044<\/li>\n<li>\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u305f\u304c\u3001\u3044\u3061\u3044\u3061\u624b\u5143\u3067\u5b9f\u884c\u3059\u308b\u306e\u304c\u9762\u5012<\/li>\n<li>\u4ed5\u69d8\u3068\u5b9f\u88c5\u306e\u6574\u5408\u6027\u3092\u5408\u308f\u305b\u308b\u306e\u304c\u5927\u5909<\/li>\n<\/ul>\n<p>\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u969b\u306b\u3053\u306e\u3042\u305f\u308a\u306e\u3053\u3068\u306b\u3064\u3044\u3066\u601d\u3063\u305f\u308a\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u305d\u3053\u3067\u3001\u4eca\u56de\u306f\u4e0b\u8a18\u306b\u3064\u3044\u3066\u304a\u8a71\u3092\u3057\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30c6\u30b9\u30c8\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067 \u30c4\u30fc\u30eb\u306e\u5c0e\u5165<\/li>\n<li>\u306f\u3058\u3081\u306e\u4e00\u6b69 \u30c6\u30b9\u30c8\u306e\u66f8\u304d\u65b9<\/li>\n<li>Git\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u3089\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 CI<\/li>\n<li>\u632b\u6298\u3057\u306a\u3044\u30c6\u30b9\u30c8\u306e\u5fc3\u5f97 \u958b\u767a\u30eb\u30fc\u30eb<\/li>\n<li>\u4ed5\u69d8\u3068\u5b9f\u88c5\u306e\u6574\u5408\u6027\u3092\u697d\u306b\u3059\u308b \u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30fc\u30b9\u30c8<\/li>\n<\/ul>\n<p>\u4eca\u56de\u306e\u5185\u5bb9\u306f\u3001\u307e\u3060\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u65b9\u3001\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u306a\u3044\u65b9\u5411\u3051\u306e\u3001\u5165\u9580\u7684\u306a\u5185\u5bb9\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h1>\u30c6\u30b9\u30c8\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067 \u30c4\u30fc\u30eb\u306e\u5c0e\u5165<\/h1>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-1.png\" alt=\"\" \/><\/p>\n<p>\u307e\u305a\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u306e\u5c0e\u5165\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u306b\u3084\u308b\u3053\u3068\u306f\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<ul>\n<li>RSpec \u306e\u5c0e\u5165<\/li>\n<li>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a<\/li>\n<li>RSpec \u306e\u8d77\u52d5\u3092\u901f\u304f\u3059\u308b\u8a2d\u5b9a<\/li>\n<li>RSpec \u306e\u4e26\u5217\u5b9f\u884c\u306e\u8a2d\u5b9a<\/li>\n<li>RSpec \u306e\u5b9f\u884c<\/li>\n<\/ul>\n<h2>RSpec \u306e\u5c0e\u5165<\/h2>\n<p>Ruby \u3067\u4f7f\u3048\u308b\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af RSpec \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001 Gemfile \u306b\u4e0b\u8a18\u3092\u8a18\u8f09\u3057\u3066 <code>bundle install<\/code> \u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash:Gemfile\">group :development, :test do\n  gem &#039;rspec-rails&#039;, &#039;~&gt; 5.0.0&#039;\nend\n<\/code><\/pre>\n<pre><code class=\"language-bash:\">$ bunlde install<\/code><\/pre>\n<h2>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a<\/h2>\n<p>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u3001\u4e00\u6642\u7684\u306b\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u7279\u306b\u8a2d\u5b9a\u3092\u3057\u306a\u304f\u3068\u3082 Rails \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u305f\u969b\u306b\u3001\u81ea\u52d5\u7684\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p><code>config\/database.yml<\/code> \u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002 PostgreSQL\/MariaDB \u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4f7f\u7528\u3059\u308b\u5834\u5408\u306e\u8a18\u8f09\u4f8b\u306f\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-yaml:config\/database.yml\">test:\n    &lt;&lt;: *default\n    database: projects_test\n<\/code><\/pre>\n<h2>RSpec \u306e\u8d77\u52d5\u3092\u901f\u304f\u3059\u308b\u8a2d\u5b9a<\/h2>\n<p>\u6b21\u306b\u3001 Rspec \u306e\u8d77\u52d5\u3092\u901f\u304f\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002 <code>binstub<\/code> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 preloader \u3067\u3042\u308b Spring \u3092\u4f7f\u7528\u3057\u3066\u3001 Rails \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u8d70\u3089\u305b\u3066\u304a\u304d\u3001RSpec \u306e\u8d77\u52d5\u3092\u9ad8\u901f\u5316\u3057\u307e\u3059\u3002<\/p>\n<p>Gemfile \u306b\u4e0b\u8a18\u3092\u8a18\u8f09\u3057\u3066\u3001 <code>bundle install<\/code> \u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash:Gemfile\">group :development do\n    gem &#039;spring-commands-rspec&#039;\nend<\/code><\/pre>\n<pre><code class=\"language-bash\">$ bundle install<\/code><\/pre>\n<h2>RSpec \u306e\u4e26\u5217\u5b9f\u884c\u306e\u8a2d\u5b9a<\/h2>\n<p>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c\u591a\u304f\u306a\u3063\u3066\u304f\u308b\u3068\u3001\u5b9f\u884c\u6642\u9593\u3082\u5897\u3048\u307e\u3059\u3002\u958b\u767a\u3092\u3059\u308b\u4e0a\u3067\u3001\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u6642\u9593\u306f\u3067\u304d\u308b\u9650\u308a\u77ed\u304f\u3057\u305f\u3044\u3082\u306e\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u30c6\u30b9\u30c8\u3092\u4e26\u5217\u5b9f\u884c\u3057\u3066\u9ad8\u901f\u5316\u3092\u56f3\u308b <code>rspec-queue<\/code> \u3092\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3082\u3001 Gemfile \u306b\u4e0b\u8a18\u3092\u8a18\u8f09\u3057\u3001 <code>bundle install<\/code> \u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash:Gemfile\">group :development do\n    gem &#039;rspec-queue&#039;\nend<\/code><\/pre>\n<pre><code class=\"language-bash\">$ bundle install<\/code><\/pre>\n<h2>RSpec \u306e\u5b9f\u884c<\/h2>\n<p>\u4ee5\u4e0a\u3067\u3001 Rspec \u3092\u5c0e\u5165\u3059\u308b\u305f\u3081\u306e\u6e96\u5099\u306f\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067 RSpec \u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u5b9f\u884c:<\/p>\n<pre><code class=\"language-bash\">$ bin\/rspec spec\/<\/code><\/pre>\n<p>\u4e26\u5217\u5b9f\u884c:<\/p>\n<pre><code class=\"language-bash\">$ bundle exec rspec-queue spec\/<\/code><\/pre>\n<h1>\u306f\u3058\u3081\u306e\u4e00\u6b69 \u30c6\u30b9\u30c8\u306e\u66f8\u304d\u65b9<\/h1>\n<h2>\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h2>\n<p>\u30c6\u30b9\u30c8\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u3089\u3001\u3055\u3063\u305d\u304f\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u30e2\u30c7\u30eb\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3067 User \u30e2\u30c7\u30eb\u306e\u30c6\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">$ bin\/rails g rspec:model user<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4e0b\u8a18\u306e\u30e2\u30c7\u30eb\u30b9\u30da\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ruby:spec\/model\/user_spec.rb\">require &#039;rails_helper&#039;\n\nRspec.describe User, type: :model do\n    pending &quot;add some examples to (or delete) #{__FILE__}&quot;\nend<\/code><\/pre>\n<h2>\u30c6\u30b9\u30c8\u9805\u76ee\u306e\u66f8\u304d\u51fa\u3057<\/h2>\n<p><code>pending &quot;add some examples to (or delete) #{__FILE__}&quot;<\/code> \u306e\u7b87\u6240\u3092\u66f8\u304d\u63db\u3048\u3066\u3001\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u3092\u66f8\u304d\u59cb\u3081\u308b\u524d\u306b\u3001\u30c6\u30b9\u30c8\u3057\u305f\u3044\u9805\u76ee\u3092\u66f8\u304d\u51fa\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\nit \u306b\u7d9a\u3051\u3066\u81ea\u7136\u306a\u82f1\u6587\u306b\u306a\u308b\u3088\u3046\u3001\u52d5\u8a5e\u304b\u3089\u66f8\u304d\u59cb\u3081\u307e\u3059\u3002\u65e5\u672c\u8a9e\u3067\u66f8\u3044\u3066\u3082\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-ruby:spec\/model\/user_spec.rb\">require &#039;rails_helper&#039;\n\nRspec.describe User, type: :model do\n    it &quot;is valid with a name, email and password&quot;\n    it &quot;is invalid without a name&quot;\n    it &quot;is invalid without an email address&quot;\n    it &quot;is invalid without a duplicate email address&quot;\nend<\/code><\/pre>\n<p>4\u3064\u306e\u30c6\u30b9\u30c8\u9805\u76ee\u3092\u66f8\u304d\u51fa\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><code>name<\/code>, <code>email<\/code>, <code>password<\/code> \u304c\u6709\u52b9\u3067\u3042\u308b\u3053\u3068<\/li>\n<li><code>name<\/code> \u304c\u5b58\u5728\u305b\u305a\u7121\u52b9\u3067\u3042\u308b\u3053\u3068<\/li>\n<li><code>email address<\/code> \u304c\u5b58\u5728\u305b\u305a\u7121\u52b9\u3067\u3042\u308b\u3053\u3068<\/li>\n<li><code>email address<\/code> \u304c\u91cd\u8907\u3057\u7121\u52b9\u3067\u3042\u308b\u3053\u3068<\/li>\n<\/ul>\n<p>\u3053\u3053\u3067\u3001\u4e00\u5ea6\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">$ bundle exec rspec-queue spec\/<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"language-bash\">****\n\nPending: (Failures listed here are expected and do not affect your suite&#039;s status)\n\n  1) User is valid with a name, email and password\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:6\n\n  2) User is invalid without a name\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:7\n\n  3) User is invalid without an email address\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:8\n\n  4) User is invalid without a duplicate email address\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:9\n\nFinished in 0.00086 seconds (files took 1.58 seconds to load)\n4 examples, 0 failures, 4 pending<\/code><\/pre>\n<p>\u5148\u982d\u306b\u3042\u308b <code>*<\/code> \u306f pending \u3067\u3042\u308b\u30c6\u30b9\u30c8\u304c\u3042\u308b\u3053\u3068\u3092\u8868\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u306f 4 \u3064 pending \u306e\u30c6\u30b9\u30c8\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u3092\u66f8\u304f<\/h2>\n<p>\u4eca\u56de\u306f\u3001 <code>it &quot;is valid with a name, email and password&quot;<\/code> \u306e\u30c6\u30b9\u30c8\u306e\u5185\u5bb9\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">require &#039;rails_helper&#039;\n\nRspec.describe User, type: :model do\n    it &quot;is valid with a name, email and password&quot; do\n        user = User.new(\n            name: &quot;hoge1&quot;,\n            email: &quot;hoge1@example.com&quot;,\n            password: &quot;password&quot;\n        )\n        expect(user).to be_valid\n    end\n    it &quot;is invalid without a name&quot;\n    ...<\/code><\/pre>\n<p><code>User.new<\/code> \u3067\u30c6\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3057\u3001\u3053\u308c\u304c\u30e2\u30c7\u30eb\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30a2\u3057\u3066\u3044\u308b\u304b <code>expect(user)<\/code> \u3067\u8a55\u4fa1\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u518d\u5ea6\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002\u7d50\u679c\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">.***\n\nPending: (Failures listed here are expected and do not affect your suite&#039;s status)\n\n  1) User is invalid without a name\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:14\n\n  2) User is invalid without an email address\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:15\n\n  3) User is invalid without a duplicate email address\n     # Not yet implemented\n     # .\/spec\/models\/user_spec.rb:16\n\nFinished in 0.01858 seconds (files took 5.57 seconds to load)\n4 examples, 0 failures, 3 pending<\/code><\/pre>\n<p><code>.<\/code> \u306f\u30c6\u30b9\u30c8\u304c\u30d1\u30b9\u3057\u305f\u3053\u3068\u3092\u8868\u3057\u307e\u3059\u3002 pending \u306f 3 \u3064\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u30c6\u30b9\u30c8\u306e\u5185\u5bb9\u3092\u8a18\u8ff0\u3057\u3066\u3044\u304d\u3001\u5168\u3066\u30c6\u30b9\u30c8\u304c <code>.<\/code> \u306b\u306a\u308b\u306e\u3092\u76ee\u6307\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u4f5c\u6210<\/h2>\n<p>\u5148\u7a0b\u306e\u4f8b\u3067\u306f\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u5185\u3067\u4e00\u6642\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u30c6\u30b9\u30c8\u30b7\u30ca\u30ea\u30aa\u304c\u8907\u96d1\u5316\u3057\u3066\u304f\u308b\u3068\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u4f5c\u6210\u3082\u8907\u96d1\u5316\u3057\u3066\u304d\u307e\u3059\u3002\u3067\u304d\u308b\u3060\u3051\u3001\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u3053\u3068\u306b\u5c02\u5ff5\u3057\u305f\u3044\u305f\u3081\u3001\u30c7\u30fc\u30bf\u306f\u624b\u8efd\u306b\u6e96\u5099\u3057\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002\u305d\u3053\u3067\u3001 FactoryBot gem \u3092\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n<p>Gemfile \u306b\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a18\u8f09\u3057\u3001 <code>bundle install<\/code> \u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ruby\">group :development, :test do\n    gem &#039;factory_bot_rails&#039;\nend<\/code><\/pre>\n<pre><code class=\"language-bash\">$ bundle install<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u4f5c\u3089\u308c\u308b\u30e2\u30c7\u30eb\u306b\u5bfe\u3057\u3066\u3001\u81ea\u52d5\u7684\u306b\u30d5\u30a1\u30af\u30c8\u30ea\u3082\u4f5c\u3089\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3059\u3067\u306b\u3042\u308b\u30e2\u30c7\u30eb\u306b\u3064\u3044\u3066\u306f\u81ea\u52d5\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u306f\u4f5c\u6210\u3055\u308c\u306a\u3044\u306e\u3067\u3001\u624b\u52d5\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p><code>config\/application.rb<\/code> \u306b\u4e0b\u8a18\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ruby\">config.generators do |g|\n    g.test_framework :rspec,\n        view_specs: false,\n        helper_specs: false,\n        routing_specs: false,\n        request_specs: false,\nend<\/code><\/pre>\n<p>User \u30e2\u30c7\u30eb\u306f\u3059\u3067\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u624b\u52d5\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-bash\">$ bin\/rails g factory_bot:model user<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u304c <code>spec\/factories\/users.rb<\/code> \u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ruby:spec\/factories\/users.rb\">FactoryBot.define do\n    factory :user do\n\n    end\nend<\/code><\/pre>\n<p>\u30d5\u30a1\u30af\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ruby:spec\/factories\/users.rb\">FactoryBot.define do\n    factory :user do\n       sequence(:name) { |n| &quot;hoge#{n}&quot; }\n       sequence(:email) { |n| &quot;hoge#{n}@example.com&quot; }\n       password { &#039;password&#039; }\n    end\nend<\/code><\/pre>\n<p><code>sequence<\/code> \u3092\u4f7f\u3063\u3066 \u547c\u3073\u51fa\u3055\u308c\u308b\u6bce\u306b <code>hoge1<\/code>, <code>hoge2<\/code>, <code>hoge3<\/code> ... \u306e\u3088\u3046\u306a\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3055\u308c\u308b\u5024\u3092\u751f\u6210\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30af\u30c8\u30ea\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u306e\u3067\u3001 User \u30b9\u30da\u30c3\u30af\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<p>\u66f8\u304d\u63db\u3048\u524d:<\/p>\n<pre><code class=\"language-ruby:spec\/model\/user_spec.rb\">require &#039;rails_helper&#039;\n\nRspec.describe User, type: :model do\n    it &#039;is valid with a name, email and password&#039; do\n        user = User.new(\n            name: &#039;hoge1&#039;,\n            email: &#039;hoge1@example.com&#039;,\n            password: &#039;password&#039;\n        )\n        expect(user).to be_valid\n    end\n    it &#039;is invalid without a name&#039;\n    ...<\/code><\/pre>\n<p>\u66f8\u304d\u63db\u3048\u5f8c:<\/p>\n<pre><code class=\"language-ruby:spec\/model\/user_spec.rb\">require &#039;rails_helper&#039;\n\nRspec.describe User, type: :model do\n    it &#039;is valid with a name, email and password&#039; do\n        user = build(:user)\n        expect(user).to be_valid\n    end\n    it &#039;is invalid without a name&#039;\n    \u2026<\/code><\/pre>\n<p><code>user = build(:user)<\/code> \u306e1\u884c\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u304b\u3089\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u3053\u3067\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u3082\u3001\u30d1\u30b9\u3059\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001 <code>build(:user)<\/code> \u306b\u306f\u4f55\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n<code>binding.pry<\/code> \u3092\u4f7f\u3063\u3066\u898b\u3066\u307f\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">#&lt;User\n    id: nil,\n    name: &quot;example_1&quot;,\n    created_at: nil,\n    updated_at: nil,\n    lock_version: 0,\n    email: &quot;hoge1@example.com&quot;,\n    password: nil\n><\/code><\/pre>\n<p>\u30d5\u30a1\u30af\u30c8\u30ea\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u30e2\u30c7\u30eb\u306e\u30c7\u30fc\u30bf\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/h2>\n<p>Rspec \u3067\u306e\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u5c11\u3057\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>RSpec \u306f\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3054\u3068\u306b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u5f35\u3089\u308c\u3066\u3044\u307e\u3059\u30021\u3064\u306e\u30c6\u30b9\u30c8\u304c\u7d42\u308f\u308b\u5ea6\u306b\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3059\u308b\u306e\u3067\u3001\u30c6\u30b9\u30c8\u306e\u72ec\u7acb\u6027\u304c\u4fdd\u305f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3088\u308a\u8907\u96d1\u306a\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3057\u305f\u3044\u5834\u5408\u306f\u3001 Database Cleaner Gem \u3092\u4f7f\u3044\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306b\u306f\u6a19\u6e96\u306e\u307e\u307e\u3067\u4e8b\u8db3\u308a\u307e\u3059\u3002<\/p>\n<h2>\u3088\u308a\u8a73\u3057\u3044 RSpec \u306e\u69cb\u6587\u306b\u3064\u3044\u3066<\/h2>\n<p>\u4eca\u56de\u306f\u6642\u9593\u304c\u9650\u3089\u308c\u3066\u3044\u308b\u305f\u3081\u3001 RSpec \u306e\u8a73\u3057\u3044\u66f8\u304d\u65b9\u306b\u3064\u3044\u3066\u306f\u89e6\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002 RSpec \u3067\u306e\u30c6\u30b9\u30c8\u306e\u66f8\u304d\u65b9\u306b\u3064\u3044\u3066\u306f\u3088\u308a\u8a73\u3057\u3044\u66f8\u7c4d\u304c\u3042\u308b\u305f\u3081\u3001\u305d\u3061\u3089\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/s_hero.png\" alt=\"\" \/><\/p>\n<p>Everyday Rails - RSpec\u306b\u3088\u308bRails\u30c6\u30b9\u30c8\u5165\u9580<br \/>\nAaron Sumner, Junichi Ito (\u4f0a\u85e4\u6df3\u4e00), AKIMOTO Toshiharu, \u9b5a\u632f\u6c5f<br \/>\n<a href=\"https:\/\/leanpub.com\/everydayrailsrspec-jp\">https:\/\/leanpub.com\/everydayrailsrspec-jp<\/a><\/p>\n<h1>Git\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u3089\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 CI<\/h1>\n<h2>CI \u306e\u5c0e\u5165<\/h2>\n<p>\u81ea\u52d5\u3067\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u6bce\u56de\u3001\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u3057\u3001\u30ec\u30d3\u30e5\u30fc\u6642\u306b\u30c6\u30b9\u30c8\u304c\u30d1\u30b9\u3057\u3066\u3044\u308b\u54c1\u8cea\u306e\u3082\u306e\u304c\u6765\u3066\u3044\u308b\u306e\u304b\u4e0d\u5b89\u306b\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001 Continuous Integration\uff08\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\uff09\u3092\u5c0e\u5165\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>CI \u3068\u306f<\/h2>\n<p>Continuous Integration\uff08\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\uff09 \u306f\u3001Git \u7b49\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u5951\u6a5f\u306b\u3001\u81ea\u52d5\u5316\u3055\u308c\u305f\u30d3\u30eb\u30c9\u3084\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u308b\u74b0\u5883\u3068\u305d\u306e\u958b\u767a\u624b\u6cd5\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002<\/p>\n<p>CI \u3092\u5b9f\u73fe\u3059\u308b\u3082\u306e\u306b\u306f\u3001 GitHub Actions, Jenkins, CircleCI \u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u304b\u3089 CI \u3092\u5c0e\u5165\u3059\u308b\u306a\u3089 GitHub Actions \u306e\u307b\u3046\u304c\u624b\u8efd\u3067\u3059\u3002<\/p>\n<h2>GitHub Actions \u3067\u306e CI \u69cb\u7bc9<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u4eca\u56de\u306f GitHub Actions \u3067 CI \u3092\u7d44\u3093\u3067\u307f\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001 CI \u3067\u4f55\u3092\u5b9f\u65bd\u3057\u305f\u3044\u304b\u3092\u8003\u3048\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30c6\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u306e\u6e96\u5099\n<ul>\n<li>ruby \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>DB \u306e\u6e96\u5099<\/li>\n<\/ul>\n<\/li>\n<li>lint (\u9759\u7684\u89e3\u6790\u30c4\u30fc\u30eb) \u306e\u5b9f\u884c<\/li>\n<li>\u30c6\u30b9\u30c8\u306e\u5b9f\u884c<\/li>\n<\/ol>\n<p>\u305d\u308c\u3067\u306f\u3001\u69cb\u7bc9\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-2.png\" alt=\"\" \/><\/p>\n<p>\u307e\u305a\u3001 CI \u3092\u69cb\u7bc9\u3057\u305f\u3044 GitHub \u30ea\u30dd\u30b8\u30c8\u30ea\u306e Actions \u30bf\u30d6\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u6b21\u306b New workflow \u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-3.png\" alt=\"\" \/><\/p>\n<p>\u3059\u308b\u3068\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u4eca\u56de\u306f\u3001 Ruby \u306e <code>Set up this workflow<\/code> \u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-1-1.png\" alt=\"\" \/><\/p>\n<p>workflow \u306e\u7de8\u96c6\u753b\u9762\u306b\u9077\u79fb\u3057\u307e\u3059\u3002 workflow \u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u305d\u308c\u3067\u306f\u3001\u5b9f\u969b\u306b\u7de8\u96c6\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a YAML \u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"language-yaml\">name: Ruby on Rails CI\n\non:\n  push:\n    branches-ignore:\n      - stable\n\njobs:\n  rails-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        ruby-version:\n          - 2.7.4\n\n    env:\n      RAILS_ENV: test\n      PROJECT_DATABASE_HOST: 127.0.0.1\n      PROJECT_DATABASE_PORT: 3306\n      PROJECT_DATABASE_DBNAME: db_test\n      PROJECT_DATABASE_USERNAME: user\n      PROJECT_DATABASE_PASSWORD: password\n      TZ: Asia\/Tokyo\n\n    services:\n      mariadb:\n        image: mariadb:10.6.0\n        env:\n          MYSQL_DATABASE: ${{ env.PROJECT_DATABASE_DBNAME }}\n          MYSQL_USER: ${{ env.PROJECT_DATABASE_USERNAME }}\n          MYSQL_PASSWORD: ${{ env.PROJECT_DATABASE_PASSWORD }}\n          MYSQL_ALLOW_EMPTY_PASSWORD: &#039;yes&#039;\n          TZ: Asia\/Tokyo\n        options: &gt;-\n          --health-cmd &quot;mysqladmin ping&quot;\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 3306:3306\n    steps:\n      - name: Checkout\n        uses: actions\/checkout@v2\n\n      # Resolve gems dependencies\n      - name: Set up Ruby ${{ matrix.ruby-version }}\n        uses: ruby\/setup-ruby@v1\n        with:\n          ruby-version: ${{ matrix.ruby-version }}\n          bundler-cache: true\n\n      # Pre-test setting\n      - name: Setup database\n        run: bundle exec rake db:create db:schema:load\n\n      # Executing lint\n      - name: Run linters\n        run: bundle exec rubocop\n\n      # Executing test\n      - name: Run tests\n        run: bundle exec rspec\n\n  slack-notify:\n    runs-on: ubuntu-latest\n    needs:\n      - rails-test\n    if: always()\n    steps:\n      # run this action to get workflow conclusion\n      # You can get conclusion via env (env.WORKFLOW_CONCLUSION)\n      - name: Receive job statuses\n        uses: technote-space\/workflow-conclusion-action@v2\n      - name: Slack Notification\n        uses: weseek\/ghaction-slack-notification@master\n        with:\n          type: ${{ env.WORKFLOW_CONCLUSION }}\n          job_name: &#039;*Test*&#039;\n          channel: &#039;#channel_name&#039;\n          isCompactMode: true\n          url: ${{ secrets.SLACK_WEBHOOK_URL }}<\/code><\/pre>\n<p>\u5404\u30d6\u30ed\u30c3\u30af\u3092\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-2-1.png\" alt=\"\" \/><\/p>\n<p><code>name<\/code> \u306b\u306f\u3001\u4efb\u610f\u306e workflow \u306e\u540d\u524d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 <code>on<\/code> \u306f\u3001\u305d\u306e workflow \u3092\u3069\u306e\u3088\u3046\u306a\u5951\u6a5f\u3067\u5b9f\u884c\u3059\u308b\u306e\u304b\u6307\u5b9a\u3059\u308b\u3082\u306e\u3067\u3059\u3002 <code>push<\/code> \u3092\u6307\u5b9a\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30fc\u30c9\u304c\u30d7\u30c3\u30b7\u30e5\u3055\u308c\u308b\u5ea6\u306b workflow \u304c\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002 <code>branches-ignore: stable<\/code> \u3068\u3059\u308b\u3053\u3068\u3067\u3001 <code>stable<\/code> \u30d6\u30e9\u30f3\u30c1\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u306e\u5834\u5408\u306f workflow \u304c\u5b9f\u884c\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-3-1.png\" alt=\"\" \/><\/p>\n<p><code>job<\/code> \u306b rails-test \u3068\u3044\u3046\u540d\u524d\u3092\u4ed8\u3051\u3001\u305d\u306e\u4e2d\u3067\u30a4\u30e1\u30fc\u30b8\u306e\u6307\u5b9a\u3084\u3001\u74b0\u5883\u5909\u6570\u3001\u5b9f\u884c\u3059\u308b\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u304d\u307e\u3059\u3002 <code>env<\/code> \u306f\u3053\u306e\u5f8c\u306b\u8aac\u660e\u3059\u308b <code>service<\/code> \u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u74b0\u5883\u5909\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-4.png\" alt=\"\" \/><\/p>\n<p><code>services<\/code> \u306b\u306f\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u306b\u5fc5\u8981\u306a\u30b3\u30f3\u30c6\u30ca\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002 \u4eca\u56de\u306f\u30c6\u30b9\u30c8\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308b <code>mariadb<\/code> \u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-5.png\" alt=\"\" \/><\/p>\n<p><code>steps<\/code> \u306b\u306f\u3001\u524d\u8ff0\u306e\u300cCI \u3067\u4f55\u3092\u5b9f\u65bd\u3057\u305f\u3044\u304b\u300d\u3067\u8003\u3048\u305f\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><code>uses<\/code> \u3067\u3001\u5b9a\u7fa9\u6e08\u307f\u306e <code>action<\/code> \u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002 <code>uses: actions\/checkout@v2<\/code> \u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 <code>uses: ruby\/setup-ruby@v1<\/code> \u3067 ruby \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6e96\u5099\u304c\u3067\u304d\u305f\u3089\u3001 <code>Setup database<\/code>, <code>Run linters<\/code>, <code>Run tests<\/code> \u306e3\u3064\u306e <code>name<\/code> \u306e\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u3001\u305d\u308c\u305e\u308c\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u6e96\u5099\u300d\u300c\u9759\u7684\u89e3\u6790\u306e\u5b9f\u884c\u300d\u300c\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u300d\u3092\u884c\u3044\u307e\u3059\u3002 <code>run<\/code> \u3067\u306f\u3001\u4efb\u610f\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002 <code>run: bundle exec rake db:create db:schema:load<\/code> \u3068\u66f8\u304f\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u7528\u306e DB \u3092\u521d\u671f\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-6.png\" alt=\"\" \/><\/p>\n<p><code>slack-notify<\/code> \u306f\u3001 CI \u5b8c\u4e86\u6642\u306b slack \u3078\u901a\u77e5\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-7.png\" alt=\"\" \/><\/p>\n<p>workflow \u306e\u7de8\u96c6\u304c\u7d42\u308f\u3063\u305f\u3089\u3001 <code>Start commit<\/code> \u3067\u30b3\u30df\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002\u4eca\u56de\u306f GitHub \u306e workflow \u7de8\u96c6\u30c4\u30fc\u30eb\u3067\u7de8\u96c6\u3092\u884c\u3044\u307e\u3057\u305f\u304c\u3001 \u4efb\u610f\u306e Git \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067 <code>\/.github\/workflows\/*.yml<\/code> \u3092\u30b3\u30df\u30c3\u30c8&amp;\u30d7\u30c3\u30b7\u30e5\u3057\u3066 wofkflow \u3092\u4f5c\u6210\u3057\u3066\u3082\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-8.png\" alt=\"\" \/><\/p>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3092\u884c\u3046\u3068\u81ea\u52d5\u7684\u306b workflow \u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002 Actions \u306e workflow \u4e00\u89a7\u306b\u306f\u3001\u5b9f\u884c\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-9.png\" alt=\"\" \/><\/p>\n<p>\u4e00\u89a7\u306e\u4f55\u308c\u304b\u306e\u7d50\u679c\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 <code>rails-test<\/code> \u304c\u5b9f\u884c\u3055\u308c\u3001\u6700\u5f8c\u306b <code>slack-notify<\/code> \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-10.png\" alt=\"\" \/><\/p>\n<p>GitHub Actions \u306f PullRequest \u3068\u3082\u9023\u643a\u3057\u3066\u304a\u308a\u3001\u4fbf\u5229\u3067\u3059\u3002\u8a72\u5f53\u3059\u308b PullRequest \u306b <code>All checks have passed<\/code> \u306e\u3088\u3046\u306b workflow \u306e\u5b9f\u884c\u7d50\u679c\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<h1>\u632b\u6298\u3057\u306a\u3044\u30c6\u30b9\u30c8\u306e\u5fc3\u5f97 \u958b\u767a\u30eb\u30fc\u30eb<\/h1>\n<p>\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u306e\u5c0e\u5165\u3001CI\u306e\u69cb\u7bc9\u3067\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u306f\u6e96\u5099\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u3053\u304b\u3089\u306f\u6c17\u697d\u306b\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3044\u304f\u958b\u767a\u624b\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u4f55\u304b\u3089\u66f8\u3051\u3070\u3044\u3044\u306e\u304b<\/h2>\n<p>\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u3057\u305f\u6642\u3001\u300c\u4f55\u304b\u3089\u66f8\u3044\u3066\u3044\u3051\u3070\u3044\u3044\u306e\u304b\u300d\u60a9\u307f\u307e\u3059\u3002\u3056\u3063\u3068\u30c6\u30b9\u30c8\u306e\u7a2e\u985e\u3092\u6319\u3052\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>Model specs<\/li>\n<li>Controller specs<\/li>\n<li>Request specs<\/li>\n<li>Feature specs<\/li>\n<li>View specs<\/li>\n<li>Helper specs<\/li>\n<li>Mailer specs<\/li>\n<li>Routing specs<\/li>\n<li>Job specs<\/li>\n<li>System specs<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u30c6\u30b9\u30c8\u3092\u6700\u521d\u304b\u3089\u3059\u3079\u3066\u6574\u5099\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3059\u308b\u306e\u304c\u96e3\u3057\u305d\u3046\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u6700\u521d\u306f\u4e0b\u8a18\u306b\u7d5e\u3063\u3066\u3001\u5c0f\u3055\u304f\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>Model specs<\/li>\n<li>Controller specs<\/li>\n<li>Request specs<\/li>\n<\/ul>\n<p>Feature\/System specs \u306a\u3069\u306f\u6700\u521d\u306f\u66f8\u304b\u305a\u3001\u624b\u52d5\u3067\u306e\u30c6\u30b9\u30c8\u3092\u4f75\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u3088\u304f\u805e\u304f TDD\u3067\u958b\u767a\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u306e\u304b<\/h2>\n<p>\u305d\u3082\u305d\u3082 TDD \u3068\u306f\u4f55\u3067\u3057\u3087\u3046\u304b\u3002 TDD \u306f\u3001\u4e0b\u8a18\u306e\u30b5\u30a4\u30af\u30eb\u3092\u56de\u3057\u3066\u884c\u3046\u958b\u767a\u624b\u6cd5\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u306f\u3058\u3081\u306b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f<\/li>\n<li>\u30c6\u30b9\u30c8\u304c\u30d1\u30b9\u3059\u308b\u30b3\u30fc\u30c9\u3092\u66f8\u304f\n<ul>\n<li>\u7f6a\u3092\u72af\u3057\u305f\u66f8\u304d\u65b9\u3092\u3057\u3066\u3082\u3088\u3044<\/li>\n<\/ul>\n<\/li>\n<li>\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0<\/li>\n<\/ol>\n<p>\u307e\u305a\u6700\u521d\u306b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3059(\u30c6\u30b9\u30c8\u30d5\u30a1\u30fc\u30b9\u30c8)\u3002 2\u756a\u76ee\u306e\u300c\u30c6\u30b9\u30c8\u304c\u30d1\u30b9\u3059\u308b\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u300d\u3067\u306f\u300c\u7f6a\u3092\u72af\u3057\u305f\u66f8\u304d\u65b9\u3092\u3057\u3066\u3082\u3088\u3044\u300d\u3068\u3042\u308b\u306e\u3067\u3001\u52d5\u3051\u3070\u3044\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u5f8c\u306e\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3067\u304d\u308c\u3044\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001 TDD (\u30c6\u30b9\u30c8\u30d5\u30a1\u30fc\u30b9\u30c8) \u3067\u66f8\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3067\u3059\u304c\u3001\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u306e\u5c0e\u5165\u671f\u306f\u6c17\u697d\u3055\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u66f8\u304b\u306a\u304f\u3066\u3082\u3088\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u5148\u306b\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3001\u540c\u3058 PR \u3082\u3057\u304f\u306f\u5c11\u3057\u9045\u308c\u3066\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u305f\u3060\u3057\u3001\u30c6\u30b9\u30c8\u3092\u5f8c\u56de\u3057\u306b\u3059\u308b\u4ee3\u308f\u308a\u306b\u7f6a\u3092\u72af\u3057\u305f\u66f8\u304d\u65b9\u306f\u6975\u529b\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u3069\u306e\u7c92\u5ea6\u307e\u3067\u66f8\u3051\u3070\u3044\u3044\u306e\u304b<\/h2>\n<p>\u3059\u3067\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u8d70\u3063\u3066\u3044\u308b\u3082\u306e\u306b\u5f8c\u304b\u3089\u30c6\u30b9\u30c8\u3092\u5c0e\u5165\u3057\u305f\u969b\u3001\u3069\u3053\u307e\u3067\u30c6\u30b9\u30c8\u3092\u66f8\u3051\u3070\u3044\u3044\u306e\u304b\u60a9\u307f\u307e\u3059\u3002\u300e\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\u300f\u306e\u66f8\u7c4d\u304b\u3089\u5f15\u7528\u3059\u308b\u3068\u3001\u300c\u4e0d\u5b89\u304c\u9000\u5c48\u306b\u5909\u308f\u308b\u307e\u3067\u66f8\u304f\u300d\u3068\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5f8c\u304b\u3089\u30c6\u30b9\u30c8\u3092\u5c0e\u5165\u3057\u305f\u5834\u5408\u306f\u3001\u4e0d\u5b89\u306e\u3042\u308b\u7b87\u6240\u304b\u3089\u30c6\u30b9\u30c8\u3092\u66f8\u304d\u59cb\u3081\u308b\u304b\u3001\u65b0\u3057\u3044\u5b9f\u88c5\u90e8\u5206\u304b\u3089\u30c6\u30b9\u30c8\u3092\u66f8\u304d\u59cb\u3081\u307e\u3057\u3087\u3046\u3002\u305d\u308c\u4ee5\u5916\u306e\u90e8\u5206\u306f\u5bfe\u5fdc\u306e\u5fc5\u8981\u304c\u306a\u3044\u306a\u3089\u3070\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/0000000049672.gif\" alt=\"\" \/><\/p>\n<p>\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a<br \/>\nKent Beck \u8457\uff0f\u548c\u7530 \u5353\u4eba\u3000\u8a33<br \/>\n<a href=\"https:\/\/shop.ohmsha.co.jp\/shopdetail\/000000004967\/\">https:\/\/shop.ohmsha.co.jp\/shopdetail\/000000004967\/<\/a><\/p>\n<h1>\u4ed5\u69d8\u3068\u5b9f\u88c5\u306e\u6574\u5408\u6027\u3092\u697d\u306b\u3059\u308b \u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30fc\u30b9\u30c8<\/h1>\n<p>\u3055\u3044\u3054\u306b\u3001\u7c21\u5358\u306b\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30fc\u30b9\u30c8\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nRails \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3001 API \u3092\u7d44\u3080\u3053\u3068\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u3053\u3046\u3068\u3057\u305f\u6642\u306b\u4fbf\u5229\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<h2>OpenAPI<\/h2>\n<p>\u5148\u306b\u3001 OpenAPI \u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/weseek.co.jp\/tech\/wp-content\/uploads\/2021\/10\/WESEEK-Tech-Conference-13-11.png\" alt=\"\" \/><\/p>\n<p>OpenAPI \u306f Rails \u306a\u3069 API \u3092\u5b9f\u88c5\u3059\u308b\u969b\u306e\u4ed5\u69d8\u3092\u307e\u3068\u3081\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<h2>committee + OpenAPI<\/h2>\n<p>OpenAPI \u3067\u4ed5\u69d8\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304f\u3068\u3001\u3053\u308c\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u304c\u4ed5\u69d8\u3069\u304a\u308a\u306b\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u30c6\u30b9\u30c8\u3057\u305f\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002<br \/>\n\u30c6\u30b9\u30c8\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u3001 committee \u3092\u5229\u7528\u3057\u307e\u3059\u3002 committee \u306f\u3001 <code>assert_response_schema_confirm<\/code> \u30e1\u30bd\u30c3\u30c9\u3092\u63d0\u4f9b\u3057\u3001\u3053\u308c\u3092\u5229\u7528\u3057\u3066\u3001 OpenAPI \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5f93\u3063\u3066\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u306e JSON \u30b9\u30ad\u30fc\u30de\u3068\u4e00\u81f4\u3059\u308b\u304b\u30c1\u30a7\u30c3\u30af\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Gemfile \u306b\u4e0b\u8a18\u3092\u8ffd\u52a0\u3057\u3001 <code>bundle install<\/code> \u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">group :development do\n    gem &#039;committee-rails&#039;\nend<\/code><\/pre>\n<pre><code class=\"language-bash\">$ bundle install<\/code><\/pre>\n<p>\u4e0b\u8a18\u306f committee \u3092\u5229\u7528\u3057\u305f\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u4f8b\u3067\u3059\u3002 <code>assert_response_schema_confirm(200)<\/code> \u3067\u3001OpenAPI \u3068\u5b9f\u88c5\u304c\u5408\u81f4\u3057\u3066\u3044\u308b\u304b\u30c6\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-ruby\">describe &#039;request spec&#039; do\n  include Committee::Rails::Test::Methods\n\n  def committee_options\n    @committee_options ||= {\n      schema_path: Rails.root.join(&#039;schema&#039;, &#039;schema.json&#039;).to_s,\n      query_hash_key: &#039;rack.request.query_hash&#039;,\n      parse_response_by_content_type: false,\n    }\n  end\n\n  describe &#039;GET \/&#039; do\n    it &#039;conform json schema&#039; do\n      get &#039;\/&#039;\n      assert_response_schema_confirm(200)\n    end\n  end\nend<\/code><\/pre>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>\u5192\u982d\u3067\u6c17\u697d\u306b\u66f8\u3053\u3046\u3068\u8a00\u3044\u307e\u3057\u305f\u304c\u3001\u30c6\u30b9\u30c8\u5c0e\u5165\u6642\u306f\u6e96\u5099\u3059\u308b\u3053\u3068\u304c\u591a\u304f\u5927\u5909\u3067\u3059\u3002<br \/>\n\u632b\u6298\u3057\u306a\u3044\u305f\u3081\u306b\u3001\u6700\u521d\u304b\u3089\u9811\u5f35\u308a\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30c6\u30b9\u30c8\u30d5\u30a1\u30fc\u30b9\u30c8\u3067\u66f8\u304b\u306a\u3044\u3067\u3084\u3063\u3066\u307f\u308b<\/li>\n<li>\u66f8\u3051\u308b\u5206\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u3001\u5c0f\u3055\u304f\u59cb\u3081\u308b<\/li>\n<li>\u624b\u52d5\u30c6\u30b9\u30c8\u3068\u3046\u307e\u304f\u4f75\u7528\u3059\u308b<\/li>\n<\/ul>\n<p>\u4e0a\u8a18\u304c\u3067\u304d\u305f\u3089\u3001<\/p>\n<ul>\n<li>\u624b\u52d5\u30c6\u30b9\u30c8\u3082\u81ea\u52d5\u5316\u3078<\/li>\n<li>TDD<\/li>\n<li>\u30b9\u30ad\u30fc\u30de\u30d5\u30a1\u30fc\u30b9\u30c8<\/li>\n<\/ul>\n<p>\u7b49\u3001\u6bb5\u968e\u7684\u306b\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u304c\u672c\u5f53\u306b\u697d\u306b\u306a\u3063\u3066\u3044\u304f\u306e\u3068\u3001\u305d\u306e\u6069\u6075\u3092\u53d7\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u306f\u3053\u3053\u304b\u3089\u3067\u3059\u3002<\/p>\n<h3>\u8457\u8005\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb<\/h3>\n<p><a href=\"https:\/\/twitter.com\/Aqutam\">\u7530\u6751 \u8cb4\u5e78<\/a><\/p>\n<p>\u682a\u5f0f\u4f1a\u793eWESEEK \/ \u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2<\/p>\n<p>Web\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u4f1a\u793e\u30922\u793e\u7d4c\u9a13\u5f8c\u30012019\u5e748\u6708\u306bWESEEK\u306b\u5165\u793e\u3002<br \/>\n\u73fe\u5728\u306f\u3001\u5927\u624bIX\u306e\u696d\u52d9\u81ea\u52d5\u5316\u30b7\u30b9\u30c6\u30e0\u306e\u6a5f\u80fd\u958b\u767a\u3084\u30a4\u30f3\u30d5\u30e9\u306e\u8a2d\u8a08\u30fb\u69cb\u7bc9\u306b\u643a\u308f\u308b\u3002<br \/>\n\u8da3\u5473\u306f\u3001\u96fb\u5b50\u5de5\u4f5c\u3068\u91e3\u308a\u3002<\/p>\n<h2>\u682a\u5f0f\u4f1a\u793eWESEEK\u306b\u3064\u3044\u3066<\/h2>\n<p><a href=\"https:\/\/weseek.co.jp\/?utm_source=connpass-top&amp;utm_medium=web-site&amp;utm_campaign=connpass-top-weseek\">\u682a\u5f0f\u4f1a\u793eWESEEK<\/a>\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u306e\u30d7\u30ed\u30d5\u30a7\u30c3\u30b7\u30e7\u30ca\u30eb\u96c6\u56e3\u3067\u3059\u3002<\/p>\n<p>\u3010\u73fe\u5728\u306e\u4e3b\u306a\u4e8b\u696d\u3011<\/p>\n<ol>\n<li>\u901a\u4fe1\u5927\u624b\u4f01\u696d\u306e\u696d\u52d9\u30d5\u30ed\u30fc\u81ea\u52d5\u5316\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/li>\n<li>\u30bd\u30fc\u30b7\u30e3\u30eb\u30b2\u30fc\u30e0\u306e\u53d7\u8a17\u958b\u767a<\/li>\n<li>\u81ea\u793e\u767a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30ed\u30c0\u30af\u30c8\u300c<a href=\"https:\/\/growi.org\/ja\/?utm_source=connpass-top&amp;utm_medium=web-site&amp;utm_campaign=connpass-top-growi\"><strong>GROWI<\/strong><\/a>\u300d\u300c<strong><a href=\"https:\/\/growi.cloud\/?utm_source=connpass-top&amp;utm_medium=web-site&amp;utm_campaign=connpass-top-growi-cloud\">GROWI.cloud<\/a><\/strong>\u300d\u306e\u958b\u767a<\/li>\n<\/ol>\n<h3>GROWI<\/h3>\n<p><a href=\"https:\/\/growi.org\/ja\/?utm_source=connpass-top&amp;utm_medium=web-site&amp;utm_campaign=connpass-top-growi\"><strong>GROWI<\/strong><\/a>\u306f\u3001Markdown\u8a18\u6cd5\u3067\u30da\u30fc\u30b8\u3092\u8a18\u8ff0\u3067\u304d\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWiki\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002<\/p>\n<h3>GROWI.cloud<\/h3>\n<p><a href=\"https:\/\/growi.cloud\/?utm_source=connpass-top&amp;utm_medium=web-site&amp;utm_campaign=connpass-top-growi-cloud\"><strong>GROWI.cloud<\/strong><\/a>\u306fOSS\u306eGROWI\u3092\u5c02\u9580\u7684\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u7c21\u5358\u306b\u904b\u7528\u30fb\u7ba1\u7406\u3067\u304d\u308b\u3001\u6cd5\u4eba\u30fb\u500b\u4eba\u5411\u3051\u306e\u5546\u7528\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/p>\n<p>\u5927\u624bSIer\u30fbISP\u3084\u4e2d\u5c0f\u4f01\u696d\u3001\u5927\u5b66\u306e\u7814\u7a76\u5ba4\u306a\u3069\u69d8\u3005\u306a\u5834\u6240\u3067\u3054\u5229\u7528\u3044\u305f\u3060\u3044\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3010\u4e3b\u306a\u7279\u5fb4\u3011<\/p>\n<ul>\n<li>\u30c6\u30ad\u30b9\u30c8\u3082\u56f3\u8868\u3082\u3069\u3093\u3069\u3093\u66f8\u3051\u308b\u3001\u5f37\u529b\u306a\u7de8\u96c6\u6a5f\u80fd<\/li>\n<li>\u30c1\u30fc\u30e0\u62e1\u5927\u306b\u8fc5\u901f\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u7ba1\u7406\u8005\u5411\u3051\u6a5f\u80fd\u3092\u63d0\u4f9b<\/li>\n<li>\u5145\u5b9f\u3057\u305f\u6a5f\u80fd\u30fb\u30b5\u30dd\u30fc\u30c8\u3067\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u306b\u3082\u5bfe\u5fdc<\/li>\n<\/ul>\n<p>\u3010\u5c0e\u5165\u4e8b\u4f8b\u8a18\u4e8b\u3011<br \/>\n\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30de\u30eb\u30c1\u30d5\u30a3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u69d8<br \/>\n[<a href=\"https:\/\/growi.cloud\/interviews\/mfeed\/?utm_source=connpass-top&amp;utm_medium=web-site&amp;utm_campaign=mf:embed:cite\">https:\/\/growi.cloud\/interviews\/mfeed\/?utm_source=connpass-top&utm_medium=web-site&utm_campaign=mf:embed:cite<\/a>]<\/p>\n<p>\u682a\u5f0f\u4f1a\u793eHIKKY\uff08VR\u6cd5\u4ebaHIKKY\uff09\u69d8<br \/>\n[<a href=\"https:\/\/growi.cloud\/interviews\/hikky:embed:cite\">https:\/\/growi.cloud\/interviews\/hikky:embed:cite<\/a>]<\/p>\n<h3>WESEEK Tech Conference<\/h3>\n<p><b>WESEEK Tech Conference<\/b>\u306f\u3001\u682a\u5f0f\u4f1a\u793eWESEEK\u304c\u4e3b\u50ac\u3059\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306e\u52c9\u5f37\u4f1a\u3067\u3059\u3002<br \/>\n<br \/>WESEEK\u306b\u6240\u5c5e\u3059\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u69d8\u3005\u306a\u30c6\u30fc\u30de\u3067\u5b9a\u671f\u7684\u306b\u767a\u8868\u3092\u884c\u3046\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p>\u6b21\u56de\u306f\u300110\/28(\u6728) 19:00~20:00\u306b\u958b\u50ac\u4e88\u5b9a\u3067\u3059\u3002<br \/>\n\u5b9f\u969b\u306b WESEEK \u3067\u4f7f\u3063\u3066\u3044\u308b\u52e4\u6020\u5165\u529b\u30b7\u30b9\u30c6\u30e0\u300ctickrec\u300d\u306e\u69cb\u6210\u3092\u5143\u306b\u3001Slack\u3067\u52e4\u6020\u5165\u529b\u304c\u3067\u304d\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30921\u304b\u3089\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u30ec\u30af\u30c1\u30e3\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>\u73fe\u5728\u3001connpass\u3084TECH PLAY\u3067\u53c2\u52a0\u53d7\u4ed8\u4e2d\u3067\u3059\u3002\u7686\u69d8\u306e\u3054\u53c2\u52a0\u3092\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\uff01<br \/>\n<a href=\"https:\/\/weseek.connpass.com\/event\/226591\/\">https:\/\/weseek.connpass.com\/event\/226591\/<\/a><br \/>\n<a href=\"https:\/\/techplay.jp\/event\/833300\">TECH PLAY\u306f\u3053\u3061\u3089\u304b\u3089<\/a><\/p>\n<h2>\u4e00\u7dd2\u306b\u50cd\u304f\u4ef2\u9593\u3092\u52df\u96c6\u3057\u3066\u3044\u307e\u3059<\/h2>\n<p>\u6771\u4eac\u306e\u9ad8\u7530\u99ac\u5834\u30aa\u30d5\u30a3\u30b9\u3001\u5927\u5206\u306b\u3042\u308b\u5225\u5e9c\u30b5\u30c6\u30e9\u30a4\u30c8\u30aa\u30d5\u30a3\u30b9\u306b\u3066\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n<br \/>\u4e2d\u9014\u63a1\u7528\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30a4\u30f3\u30bf\u30fc\u30f3\u30b7\u30c3\u30d7\u3082\u7a4d\u6975\u7684\u306b\u53d7\u3051\u5165\u308c\u3066\u3044\u307e\u3059\uff01<\/p>\n<p>\u8a73\u3057\u3044\u52df\u96c6\u8981\u9805\u306f\u3001\u5f0a\u793eHP\u306e<a href=\"https:\/\/weseek.co.jp\/recruit.html\">\u63a1\u7528\u30da\u30fc\u30b8<\/a>\u304b\u3089\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001 2021\/9\/30 \u306b\u884c\u308f\u308c\u305f WESEEK Tech Conference \u306e\u5185\u5bb9\u3067\u3059\u3002 \u76ee\u6b21<\/p>\n","protected":false},"author":2,"featured_media":1410,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[154,2],"tags":[],"_links":{"self":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/1409"}],"collection":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/comments?post=1409"}],"version-history":[{"count":22,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/1409\/revisions"}],"predecessor-version":[{"id":4034,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/1409\/revisions\/4034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media\/1410"}],"wp:attachment":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media?parent=1409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/categories?post=1409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/tags?post=1409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}