Skip to content

Add test framework - #1

Merged
IgorKorkin merged 7 commits into
mainfrom
add-test-framework
Jul 26, 2026
Merged

Add test framework#1
IgorKorkin merged 7 commits into
mainfrom
add-test-framework

Conversation

@IgorKorkin

@IgorKorkin IgorKorkin commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary by cubic

Add a C++ unit test framework with googletest, a new Desktop.Ranger.Core library for shared code, and CI that builds and runs tests on every push and PR. Moved desktop name generation into the core, added comprehensive tests, and enabled CI concurrency to cancel superseded runs.

  • New Features

    • Added Desktop.Ranger.Core with desktop_name_generator and helpers.
    • Added Desktop.Ranger.Tests using external/googletest; includes tests for name generation.
    • CI: build-and-test job runs .output/Release/Desktop.Ranger.Tests.exe, uploads .output/Release/test-results.xml, and uses concurrency to cancel in-progress runs.
    • Replaced in-launcher generator with DR::GenerateDesktopName().
    • Restricted builds to x64; removed Win32 from the core project.
  • Dependencies

    • Added external/googletest as a submodule.

Written for commit e8b6e23. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread desktop.ranger.tests/desktop.ranger.tests.vcxproj Outdated
Comment thread desktop.ranger.core/desktop.ranger.core.vcxproj Outdated
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .github/workflows/build.yml Outdated
@IgorKorkin
IgorKorkin merged commit 04afb11 into main Jul 26, 2026
2 checks passed
@IgorKorkin
IgorKorkin deleted the add-test-framework branch July 26, 2026 15:49
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.

1 participant