TestProf Digest 2026.4: 3만 개 스펙에서 찾아낸 테스트 최적화 기법

Evil Martians는 Whop의 RSpec 테스트 3만 개를 대상으로 CI 실행 시간을 4분 30초에서 1분 30초 수준으로 70% 가까이 단축했다.

🔗 원문 보기

TestProf Digest 2026.4: 3만 개 스펙에서 찾아낸 테스트 최적화 기법

Evil Martians는 Whop의 RSpec 테스트 3만 개를 대상으로 CI 실행 시간을 4분 30초에서 1분 30초 수준으로 70% 가까이 단축했다.

Ruby-News | 루비 AI 뉴스

simplecov-compare: SimpleCov 테스트 커버리지 변화 추적을 위한 새로운 도구

SimpleCov의 JSON 출력 파일을 직접 대조하여 두 시점 간의 테스트 커버리지 차이를 분석하고 리포트를 생성하는 simplecov-compare 젬이 공개되었다.

🔗 원문 보기

simplecov-compare: SimpleCov 테스트 커버리지 변화 추적을 위한 새로운 도구

SimpleCov의 JSON 출력 파일을 직접 대조하여 두 시점 간의 테스트 커버리지 차이를 분석하고 리포트를 생성하는 simplecov-compare 젬이 공개되었다.

Ruby-News | 루비 AI 뉴스

Woohoo, found my first bug thanks to extended #RSpec coverage 🥳

No luck getting #Simplecov to show me a list of uncovered methods yet, though 🤔

First order of business is to see if #RSpec or #SimpleCov can tell me which methods (as opposed to lines) are covered – I'd be happy enough for now if each controller and model method is at least executed.
【Rails】手動テストでカバレッジを計測する - Qiita

はじめにRuby on Railsプロジェクトの手動テストでもコードカバレッジできたので、その方法をメモしておきます。通常、カバレッジは自動テストコードの実行とともに計測するものですが、何らかの…

Qiita
My friend Sean Miller has a blog post up : Adding GitHub Actions to Run RSpec and SimpleCov https://thewanderingcoder.com/2023/09/adding-github-actions-to-run-rspec-and-simplecov/ with repect to (as it says on the tin) #Ruby, #GithubAction #Rspec #SimpleCov and #CI
Adding GitHub Actions to Run RSpec and SimpleCov | Sean Miller: The Wandering Coder

The constructive argument against it is that if you’re not using mutation testing you can’t really trust your code coverage metric. I like the reasoning behind this argument.

#CodeCoverage #Simplecov #Testing

Sunday night #Ruby tip:

I use #RSpec and #Simplecov quite a bit and created this little script in a file named `bin/coverage` that will open the coverage report HTML page in my default browser:

```sh
#!/usr/bin/env sh

set -e

if [[ -f ./coverage/index.html ]]; then
echo "[ bin/coverage ] 👖 Opening coverage report in your default browser..."
open ./coverage/index.html
else
echo "[ bin/coverage ] 🚨 No coverage report found! Run \"bin/rspec\" first."
exit 1
fi
```