Conversation
Introduces a complete unit test infrastructure using doctest v2.4.11: - `tests/RealViewOn.Tests.vcxproj`: standalone MSBuild project (ClangCL, x64) intentionally excluded from the main solution to avoid affecting release builds. - Test files covering `SolidWorks`, `GPU`, `AdvanceMode`, and `Registro` logic. - `tests/test_access.h`: friend-based access bridges to reach private pure functions without widening the public API. - `.github/workflows/tests.yml`: CI workflow that builds and runs tests on every push/PR to `main` touching source or test files, with JUnit report artifact and step summary. - Header guards added to `Misc.h`, `Playmidi.h`, `Registro.h`, `SolidWorks.h`, and `Teclado.h` to prevent multiple-inclusion errors when compiled together. - `friend struct` declarations added to `AdvanceMode`, `GPU`, and `SolidWorks` for test access. - `test-results.xml` added to `.gitignore`. - Build version bumped to 2.2.0.3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduces a complete unit test infrastructure using doctest v2.4.11:
tests/RealViewOn.Tests.vcxproj: standalone MSBuild project (ClangCL, x64) intentionally excluded from the main solution to avoid affecting release builds.SolidWorks,GPU,AdvanceMode, andRegistrologic.tests/test_access.h: friend-based access bridges to reach private pure functions without widening the public API..github/workflows/tests.yml: CI workflow that builds and runs tests on every push/PR tomaintouching source or test files, with JUnit report artifact and step summary.Misc.h,Playmidi.h,Registro.h,SolidWorks.h, andTeclado.hto prevent multiple-inclusion errors when compiled together.friend structdeclarations added toAdvanceMode,GPU, andSolidWorksfor test access.test-results.xmladded to.gitignore.