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

steve-downey / example / 27326607634
83%

Build:
DEFAULT BRANCH: main
Ran 11 Jun 2026 05:47AM UTC
Jobs 1
Files 3
Run time 1min
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

11 Jun 2026 05:45AM UTC coverage: 83.333%. Remained the same
27326607634

push

github

steve-downey
Add Catch2 as an alternative test framework option

Introduces a `test_framework` Copier variable (default: `gtest`, choice:
`catch2`) so projects bootstrapped from this template can opt into Catch2
instead of GoogleTest.  The existing `use-fetch-content.cmake` already
carried Catch2-aware FetchContent support; this change wires up the rest.

Key changes:
- copier.yml: new `test_framework` variable; enable `trim_blocks` and
  `lstrip_blocks` in `_envops` so Jinja block tags don't introduce stray
  blank lines in whitespace-sensitive CMake files
- lockfile.json: add Catch2 v3.7.1 FetchContent entry
- template/CMakeLists.txt.jinja: conditional find_package block; fix
  pre-existing cmake_minimum_required version drift
- template/src/.../CMakeLists.txt.jinja: conditional test-target setup
  (GTest::gtest_main+gtest_discover_tests vs Catch2WithMain+catch_discover_tests)
- template/src/.../*.test.cpp.jinja: conditional test syntax; UUID anchors
  preserved in both branches for org-transclusion
- template/vcpkg.json → template/vcpkg.json.jinja: conditional gtest/catch2
  dependency; removed from sync_template.sh SYNC_PATHS

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

5 of 6 relevant lines covered (83.33%)

1.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27326607634.1 11 Jun 2026 05:47AM UTC 3
83.33
GitHub Action Run
Source Files on build 27326607634
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27326607634
  • 090639b2 on github
  • Prev Build on main (#26995208370)
  • Next Build on main (#27344203462)
  • 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