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% 가까이 단축했다.
simplecov-compare: SimpleCov 테스트 커버리지 변화 추적을 위한 새로운 도구
SimpleCov의 JSON 출력 파일을 직접 대조하여 두 시점 간의 테스트 커버리지 차이를 분석하고 리포트를 생성하는 simplecov-compare 젬이 공개되었다.
Woohoo, found my first bug thanks to extended #RSpec coverage 🥳
No luck getting #Simplecov to show me a list of uncovered methods yet, though 🤔
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.
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
```