Skip to content

Add unit tests to main logic#16

Draft
JGenereux wants to merge 1 commit into
mainfrom
refactor-35
Draft

Add unit tests to main logic#16
JGenereux wants to merge 1 commit into
mainfrom
refactor-35

Conversation

@JGenereux

Copy link
Copy Markdown
Owner

Adds Google Test framework and 30 unit tests to improve code reliability and verify core logic.

The CMakeLists.txt has been updated to support flexible Google Test integration, including vcpkg and system installations with fallback mechanisms. A new test_main.cpp file was created to house comprehensive unit tests for FormatHTMLToString, GetTestCases, GetParamName, and write_chunk functions.


Open in Cursor Open in Web

This commit introduces Google Test for unit testing and refactors the CMakeLists.txt file to improve the build process. It includes better handling of dependencies, compiler detection, and test execution.

Co-authored-by: jacegenereux <jacegenereux@gmail.com>
@cursor

cursor Bot commented Nov 12, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

1 similar comment
@cursor

cursor Bot commented Nov 12, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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