📘 hkob-astro-notion-blog
RSpec 2/2
spec template の設置と Kurasu モデルの作成 - 不定期刊 Rails App を作る(14)
「不定期刊 Rails App を作る(14)」では、RSpec と FactoryBot を使ったモデルのテストについて説明しています。具体的には、spec ファイルのテンプレートの設置や Kurasu モデルの作成方法などを解説しています。記事の最後には、Middleman 時代に書かれた記事であることを示す注意書きがあります。 (by Notion AI)
FactoryBot とRSpec によるテスト(2) - 不定期刊 Rails App を作る(13)
This blog post discusses using FactoryBot and RSpec to test a Rails app, with a focus on the Teacher model. It includes a sample test file, code snippets, and explanations of the testing process. Please note that this post was written in the Middleman era and is for reference only. (by Notion AI)
FactoryBot とRSpec によるテスト(1) - 不定期刊 Rails App を作る(12)
この記事では、FactoryBotとRSpecを使ってモデルのテストを簡単にする方法について紹介しています。また、key based FactoryBotの設定方法や共通exampleの作成方法についても詳しく説明しています。この記事は、2018年11月20日に投稿され、ImageExportedがYes、TagsがFactoryBot、RSpec、Railsであることがわかります。(by Notion AI)
Guard の設定 - 不定期刊 Rails App を作る(7)
Guard を使った RSpec の自動テスト実行について解説しています。Guard を設定することで、ファイルを保存するたびに自動的にテストが実行されるようになります。詳しい手順や設定方法を紹介しています。(by Notion AI)
RSpec の設定 - 不定期刊 Rails App を作る(6)
This article covers the setup of RSpec, a behavior-driven development system for Ruby. It includes instructions for installation and writing tests. Please note that this is an older article, written during the Middleman era, and some of the information may be outdated. (by Notion AI)