• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

machida / mb / 19895870675
82%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2025 01:42PM UTC
Jobs 1
Files 37
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Dec 2025 01:40PM UTC coverage: 76.696% (+0.2%) from 76.523%
19895870675

push

github

machida
test: improve test coverage for models and jobs

追加したテスト:
1. SiteSetting モデル
   - default_og_image_url メソッド
   - author_display_enabled (boolean変換)
   - openai_api_key と configured チェック
   - 空白値許可バリデーション (copyright, default_og_image, hero_background_image, openai_api_key)
   - site_title の空白値禁止バリデーション
   - copyright_text フォーマット (カスタム/デフォルト)

2. ApplicationRecord モデル
   - 抽象クラスの検証
   - 継承関係のテスト

3. ApplicationJob ジョブ
   - ActiveJob::Base 継承の検証
   - クラス構造のテスト

SimpleCov設定の改善:
- カバレッジ測定時は並列実行を無効化 (精度向上)
- RAILS_ENV を SimpleCov 開始前に設定

テスト数: 228 → 242 (+14tests)
カバレッジ: 78.73% → 78.95% (+0.22%)

135 of 200 branches covered (67.5%)

Branch coverage included in aggregate %.

645 of 817 relevant lines covered (78.95%)

6.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19895870675.1 03 Dec 2025 01:42PM UTC 37
76.7
GitHub Action Run
Source Files on build 19895870675
  • Tree
  • List 37
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19895870675
  • b122f83f on github
  • Prev Build on main (#19894980060)
  • Next Build on main (#19896139715)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc