Skip to content

Allow using ctest for testing#29

Merged
aobolensk merged 3 commits into
mainfrom
run-tests
Jul 12, 2025
Merged

Allow using ctest for testing#29
aobolensk merged 3 commits into
mainfrom
run-tests

Conversation

@aobolensk
Copy link
Copy Markdown
Owner

No description provided.

@aobolensk aobolensk requested a review from Copilot July 12, 2025 18:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables GoogleTest integration with CTest and updates the project documentation to use ctest for running tests.

  • Added CTest discovery in the test CMake configuration
  • Updated README to invoke tests via ctest instead of directly running the test binary

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
test/CMakeLists.txt Included GoogleTest module and enabled test discovery
README.md Replaced direct test binary invocation with ctest
Comments suppressed due to low confidence (1)

README.md:24

  • [nitpick] It may be helpful to add the --output-on-failure flag (e.g., ctest --test-dir build --output-on-failure) so that test failures print their logs by default.
$ ctest --test-dir build

Comment thread test/CMakeLists.txt
@aobolensk aobolensk changed the title Allow sing ctest for testing Allow using ctest for testing Jul 12, 2025
@aobolensk aobolensk merged commit 7eac674 into main Jul 12, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants