Skip to content

Add automated testing using doctest - #55

Merged
Cameron DaCamara (cdacamar) merged 2 commits into
microsoft:mainfrom
cdacamar:testing
Jan 3, 2024
Merged

Cameron DaCamara (cdacamar) merged 2 commits into
microsoft:mainfrom
cdacamar:testing

Conversation

@cdacamar

Copy link
Copy Markdown
Collaborator

This change adds basic unit testing for some simple scenarios in the IFC.

  • Added doctest as a dependency for unit testing the C++ SDK.
  • Added preset value for building the testing executables.
  • Added unit tests for MSVC.
  • Improved documentation for building in developer mode.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for doing this!

Comment thread BUILDING.md Outdated
Comment thread BUILDING.md
Comment thread BUILDING.md
Comment thread README.md
Comment thread cmake/find/Finddoctest.cmake Outdated
Comment thread vcpkg.json Outdated
This change adds basic unit testing for some simple scenarios in the IFC.

* Added [`doctest`](https://github.com/doctest/doctest) as a dependency for unit testing the C++ SDK.
* Added preset value for building the testing executables.
* Added unit tests for MSVC.
* Improved documentation for building in developer mode.
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