catchorg / catchorg/Catch2

Add scaffolding for compilation tests

Open
#1,694 0 comments 0 reactions 0 assignees View on GitHub
Development
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

**Description**
We are currently adding various `static_assert`s and similar to detect errors at compilation time, but we are not continuously testing them, as we do not have infrastructure that would make adding compilation tests easy.

We should change that, so that adding new compilation tests is easy and things like 53281b471f881b86d1ed037b3df0c239287552af are well tested.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing static_assert usage and commit 53281b471f881b86d1ed037b3df0c239287552af, then inspect the current test and build infrastructure. Done means new compilation tests can be added easily and static assertions are continuously exercised.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.