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

MushroomObserver / mushroom-observer / 20323078991
95%
main: 96%

Build:
Build:
LAST BUILD BRANCH: nimmo-phlex-name-classification-forms
DEFAULT BRANCH: main
Ran 18 Dec 2025 01:46AM UTC
Jobs 1
Files 824
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

18 Dec 2025 01:28AM UTC coverage: 95.273% (-0.006%) from 95.279%
20323078991

Pull #3582

github

mo-nathan
Disable SimpleCov for parallel tests and add test:coverage command

SimpleCov doesn't fully support Rails 7's parallel testing due to
process isolation making coverage merging unreliable. This change
improves test performance by disabling coverage during normal parallel
test runs while providing a dedicated command for coverage generation.

Changes:
- Only load SimpleCov when COVERAGE=true or CI=true
- Run tests serially when coverage is enabled
- Add custom 'rails test:coverage' command via bin/rails modification
- Support positional arguments: rails test:coverage path/to/test.rb
- Update documentation in README_CODE.md and parallel_testing.md

Usage:
  rails test                          # Fast parallel, no coverage
  rails test path/to/test.rb          # Fast parallel, no coverage
  rails test:coverage                  # All tests with coverage (serial)
  rails test:coverage path/to/test.rb  # Specific test with coverage

Implementation:
The bin/rails script intercepts 'test:coverage' before Rails processes
it, sets COVERAGE=true, and converts it to 'rails test' with the same
arguments. This allows the command to work exactly like 'rails test'
but with coverage enabled.

Benefits:
- Faster local test runs (no coverage overhead)
- Reliable coverage reporting when needed
- Maintains CI coverage requirements (CI=true still enables SimpleCov)
- Intuitive command syntax matching 'rails test'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request #3582: Enable parallel testing

116 of 123 new or added lines in 10 files covered. (94.31%)

31364 of 32920 relevant lines covered (95.27%)

708.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.67
-8.33% app/jobs/application_job.rb
1
97.44
-2.56% app/models/field_slip_job_tracker.rb
2
96.72
app/classes/parallel_test_config_service.rb
3
0.0
app/classes/parallel_test_config_service/stdout_output_handler.rb
Jobs
ID Job ID Ran Files Coverage
1 20323078991.1 18 Dec 2025 01:46AM UTC 824
95.27
GitHub Action Run
Source Files on build 20323078991
  • Tree
  • List 824
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20323078991
  • Pull Request #3582
  • PR Base - main (#20235148458)
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