Catch2 icon indicating copy to clipboard operation
Catch2 copied to clipboard

Catch tests as dll

Open forry opened this issue 3 years ago • 1 comments

Description

CMake changes only.

  • Added CATCH_EXPERIMENTAL_SHARED option for setting Catch2 to SHARED and eporting every symbol for windows.
  • ~Removed DESTINATION from install command since the defaults works better.~ Given even more destinations because why the hell not (need cmake 3.14 to get rid of it).

So I can compile the tests to separate dlls and explicitly link them to a runner application. This is especially usefull for integration/system level testing.

GitHub Issues

forry avatar May 06 '21 10:05 forry

Codecov Report

Merging #2227 (32b04d6) into devel (2cb5210) will increase coverage by 0.24%. The diff coverage is n/a.

@@            Coverage Diff             @@
##            devel    #2227      +/-   ##
==========================================
+ Coverage   90.05%   90.29%   +0.24%     
==========================================
  Files         146      146              
  Lines        7099     7129      +30     
==========================================
+ Hits         6393     6437      +44     
+ Misses        706      692      -14     

codecov[bot] avatar May 06 '21 12:05 codecov[bot]

This should be closed, it it already implemented.

dimztimz avatar Sep 25 '22 21:09 dimztimz

Nice

forry avatar Sep 26 '22 08:09 forry