Skip to content

Feature/unit tests - #44

Merged
dsilhavy merged 8 commits into
developmentfrom
feature/unitTests
Oct 8, 2025
Merged

Feature/unit tests#44
dsilhavy merged 8 commits into
developmentfrom
feature/unitTests

Conversation

@dsilhavy

@dsilhavy dsilhavy commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

This PR adds support for running unit tests with Googletest.

  • Adds a Github action that builds and links the object files and executes the unit tests for each pull request against the development branch
  • The Readme is extended to document how to execute the unit tests manually
  • A dedicated CmakeLists.txt to build the testfiles and to include Googletest
  • Simple unit tests for the Transmitter class to demonstrate usage (auto generated by Copilot)

@dsilhavy dsilhavy added this to the 0.12.0 milestone Oct 8, 2025
@dsilhavy
dsilhavy requested a review from davidjwbbc October 8, 2025 11:08
@jordijoangimenez
jordijoangimenez self-requested a review October 8, 2025 11:27

@jordijoangimenez jordijoangimenez 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.

Works

@dsilhavy dsilhavy modified the milestones: 0.12.0, 0.11.0 Oct 8, 2025
@dsilhavy
dsilhavy merged commit e9c6577 into development Oct 8, 2025
1 check passed
@dsilhavy
dsilhavy deleted the feature/unitTests branch October 8, 2025 12:10
jordijoangimenez added a commit to jordijoangimenez/rt-libflute that referenced this pull request Jul 17, 2026
* Add basic test framework to run unit tests via googletest

* Update README.md to show how to disable building the unit tests

* Add instruction how to run the unit tests

* Add GitHub action to trigger unit tests

* Trigger GitHub action

* Trigger GitHub action for unit tests for each pull request against the development branch

* Add some auto generated unit tests for the Transmitter

* Update README.md

---------

Co-authored-by: Jordi J. Gimenez <87380947+jordijoangimenez@users.noreply.github.com>
jordijoangimenez added a commit to jordijoangimenez/rt-libflute that referenced this pull request Aug 7, 2026
* Add basic test framework to run unit tests via googletest

* Update README.md to show how to disable building the unit tests

* Add instruction how to run the unit tests

* Add GitHub action to trigger unit tests

* Trigger GitHub action

* Trigger GitHub action for unit tests for each pull request against the development branch

* Add some auto generated unit tests for the Transmitter

* Update README.md

---------

Co-authored-by: Jordi J. Gimenez <87380947+jordijoangimenez@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants