#RSpec
A proud moment for Saeloun! ❤️

Our very own Keshav Biswa took the stage at RubyConf India 2026, Hyderabad, sharing his insights on making slow RSpec test suites faster and more efficient.

Well done, Keshav! 👏

#RubyConfIndia2026 #Ruby #RSpec #RubyOnRails #Saeloun
December 1, 2026 at 11:22 AM
Two Ruby details:

rspec --format json writes everything when the run closes, so a killed run gives you nothing.

minitest-reporters replaces Minitest.backtrace_filter, the Rails one included, so pass it back as the third argument of use!
November 25, 2026 at 8:35 AM
Location plus the observed value, without alternatives, stays close to the raw error: 36% vs 28%.

Think of a Minitest failure that says only "Expected false to be truthy". That is this row. An RSpec diff that shows the expected state is closer to the row worth 42 points.
November 25, 2026 at 8:35 AM
agent_primitives keeps your documented behavior and rspec examples in sync while tracking primitive changes for ai agent training workflows.

https://rubycoder.ai/item/agent-primitives

#rubygems #ruby
agent_primitives
A gem that validates intent clauses in documentation against RSpec examples, tracks changes to primitive records, and imports skills to train coding agents. Useful for maintaining consistency between documented behavior and tested code in AI-driven development workflows.
rubycoder.ai
November 24, 2026 at 8:00 AM
ai_rspec_writer takes the drudgery out of writing model and controller specs by generating them automatically with ai, so you can focus on the actual logic instead of boilerplate.

https://rubycoder.ai/item/ai-rspec-writer

#ruby #devtools
ai_rspec_writer
An AI-powered RSpec test generator that automatically creates model and controller specifications, streamlining test suite development for Ruby on Rails projects.
rubycoder.ai
November 17, 2026 at 2:00 AM
local で rspec 回すためだけの超贅沢環境になっている

あとは workstation にあげてる SA は権限を少し絞ってるから、結構 AI Agent にやんちゃさせても良いようになってるから、色々おまかせできるのは良いかも。
November 9, 2026 at 12:03 PM
AI Ruby Code: Rails Help, RSpec Tests and Safe Reviews
#AskMio #AITools #AIArt #Copywriting

https://askmioai.com/ai-ruby-code-help/
AI Ruby Code: Rails Help, RSpec Tests and Safe Reviews #AskMio #AITools #AIArt #Copywriting
askmioai.com
November 8, 2026 at 9:11 AM
2. acceptEdits runs more than edits.

Inside the working directory it also runs mkdir, touch, rm, rmdir, mv, cp and sed without asking you.

Other commands, like bundle exec rspec, still ask.
November 6, 2026 at 10:15 AM
Shipped RSpec clone 2.0, a deliberately incomplete #RSpec.

No monkey patch, no at_exit, no memoized let, no after, no mocks. The expected value always receives the comparison. The run stops at the first expectation not met.

~250 lines of #Ruby, on the engine of Fix 1.0.

github.com/cyril/r_spec...
GitHub - cyril/r_spec-clone.rb: A minimalist RSpec clone with all the essentials.
A minimalist RSpec clone with all the essentials. Contribute to cyril/r_spec-clone.rb development by creating an account on GitHub.
github.com
November 1, 2026 at 10:22 AM
過去に動かしたテストケースを記録して(ichno)同じ条件ならテストケースをskipできる(rspec-ichno)。これはrails+rspecで試したがJS使ったE2EでもJS+Ruby部分の全処理をCのライブラリまで追える。が上記条件が難しすぎるんだよね。結局全部動かすしかない。解決策も一応あってPRへのpushだけだとこれで高速化、merge直前に全テストケースを回すは考えていてまあ可能だがそれはそれで微妙というかうーん
github.com/longicorn/ic...
github.com/longicorn/rs...
GitHub - longicorn/ichno
Contribute to longicorn/ichno development by creating an account on GitHub.
github.com
November 1, 2026 at 4:46 PM
最近いろんな経験を経て、自分の中でのRSpecはAI親和性も考えると以下の感じになってきた。

・contextとbeforeを揃える、beforeでやりきる
・letを多用しない。再利用よりも読みやすさ優先。
・複雑なデータセットアップはメソッド化して逃がす
・contextの多段構成はかえって読みづらいのでなるべく避ける
October 29, 2026 at 5:00 AM
This is basically all from the different robots' reviews, except the "rspec config" and "trailing whitespace".

Conclusion: it's a good idea to ask them to do a code review before each release, and probably more than one of them 🙂 (a lot of the things found were non-overlapping)
October 23, 2026 at 10:24 PM
I always wanted rspec to use all my cores, and I was not happy with the existing solutions. Here is mine. Please try it out and report any issue you face. Thanks! #ruby #rubyonrails #rspec

github.com/renuo/rspec-...
GitHub - renuo/rspec-core-parallel: Run an RSpec 3.13 suite in forked worker processes: one per CPU core, dynamically balanced, one combined report
Run an RSpec 3.13 suite in forked worker processes: one per CPU core, dynamically balanced, one combined report - renuo/rspec-core-parallel
github.com
October 22, 2026 at 6:51 AM
The latest update for #AppSignal includes "Sidekiq Unique Jobs: Three Ways to Avoid Duplicates" and "RSpec Tests in #Ruby on #Rails: Every Spec Type Explained (2026)".

#monitoring https://opsmtrs.com/3CvVH6c
AppSignal
Made for teams that want to build high quality Ruby and Elixir applications, AppSignal offers amazing insights into errors and performance issues, plus host monitoring and an easy to use custom metrics platform.
opsmtrs.com
October 23, 2026 at 4:23 AM
The latest update for #AppSignal includes "RSpec Tests in #Ruby on #Rails: Every Spec Type Explained (2026)" and "Making the Most of Your Logs in Rails".

#monitoring https://opsmtrs.com/3CvVH6c
AppSignal
Made for teams that want to build high quality Ruby and Elixir applications, AppSignal offers amazing insights into errors and performance issues, plus host monitoring and an easy to use custom metrics platform.
opsmtrs.com
October 21, 2026 at 4:43 AM
今日のZennトレンド

『現場で役立つシステム設計の原則』を読んで学んだこと、実践したこと、これからやりたいこと
変更しにくいRailsシステムの改善に向け、『現場で役立つシステム設計の原則』から学んだ設計技法と実践内容をまとめています。
ロジックをデータを持つ側に配置し、業務用語をコードに反映させ、構成を小規模に保つことで、変更を楽で安全にする手法を学習しました。
実際にコードの監査やロジックの切り出しを行い、保守性の向上に取り組んでいます。
『現場で役立つシステム設計の原則』を読んで学んだこと、実践したこと、これからやりたいこと
はじめにこんにちは、塚本です。私が担当している業務では、長年運用されてきたシステムを少しずつ改善する取り組みを続けています。これまでに、『レガシーコードからの脱却』を読んでRSpecを導入した話や、Access VBAのシステムを撤退させるための技術選定の話を書いてきました。どちらも、変更したときに「何が壊れるか」を検知できる状態、つまりテストをどう整えるか、という話でした。一方で、テストを整え
zenn.dev
October 17, 2026 at 11:05 PM
PR内でCIが通過した後に、レビュアーのためのレビュー環境をLambda MicroVMsで構築してみた

#AWS #lambda #MicroVM #CICD
PR内でCIが通過した後に、レビュアーのためのレビュー環境をLambda MicroVMsで構築してみた - Qiita
どうもこんにちは。 前回の記事では、PRにpushするとLambda MicroVMs上でRuboCop、Brakeman、RSpecが動くCI環境を作りました。 今回はその続きです。CIが成功したPRについて、レビュアーがブランチをgit pullしなくても、ブラウ...
qiita.com
October 17, 2026 at 3:20 AM