Skip to content

Configuration - Add support for Google Test framework in CMake#443

Merged
dpasukhi merged 12 commits intoOpen-Cascade-SAS:IRfrom
dpasukhi:gtest_integration
Mar 24, 2025
Merged

Configuration - Add support for Google Test framework in CMake#443
dpasukhi merged 12 commits intoOpen-Cascade-SAS:IRfrom
dpasukhi:gtest_integration

Conversation

@dpasukhi
Copy link
Copy Markdown
Member

@dpasukhi dpasukhi commented Mar 16, 2025

Enhance Google Test integration and add support for test projects.
Each Toolkit have GTests folder with place for new tests.
For adding new tests needs to extend FILES.cmake files in each GTests folder.
The single executable is created for each toolkit with all tests.
The tests grouped by module and toolkit with :: as separator.
Added option to download GTest by Cmake if not found.
Add GTest for PLib_JacobiPolynomial with comprehensive test cases
Add GTest for TCollection_AsciiString and TCollection_ExtendedString
Set C++ standard to C++14 for GTest compatibility if required

@dpasukhi dpasukhi added the 1. Configuration CMake/QMake processes of OCCT or samples label Mar 16, 2025
This was linked to issues Mar 16, 2025
@dpasukhi dpasukhi marked this pull request as draft March 16, 2025 21:23
Enhance Google Test integration and add support for test projects.
Each Toolkit have GTests folder with place for new tests.
For adding new tests needs to extend FILES.cmake files in each GTests folder.
The single executable is created for each toolkit with all tests.
The tests grouped by module and toolkit with :: as separator.
Added option to download GTest by Cmake if not found.
Add GTest for PLib_JacobiPolynomial with comprehensive test cases
Add GTest for TCollection_AsciiString and TCollection_ExtendedString
Set C++ standard to C++14 for GTest compatibility if required
@dpasukhi dpasukhi force-pushed the gtest_integration branch from 18e2391 to fca3d08 Compare March 23, 2025 15:50
@dpasukhi dpasukhi requested a review from AtheneNoctuaPt March 23, 2025 15:53
@dpasukhi dpasukhi marked this pull request as ready for review March 23, 2025 15:53
@dpasukhi dpasukhi added the 1. Testing Updating of the DRAW/GTests or GH tests label Mar 23, 2025
@dpasukhi dpasukhi added this to the Release 8.0 milestone Mar 23, 2025
@github-project-automation github-project-automation bot moved this from Todo to Integration in Maintenance Mar 24, 2025
@dpasukhi dpasukhi merged commit 876ccbe into Open-Cascade-SAS:IR Mar 24, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from Integration to Done in Maintenance Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Configuration CMake/QMake processes of OCCT or samples 1. Testing Updating of the DRAW/GTests or GH tests

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Repository reorganization Introduce Google Tests per module

2 participants