Conversation
This adds googletest to enable unit tests. Made a directory and integrated it into CMake. Also created an basic workflow for github to run the tests. Integration into VS is missing
54f50e5 to
6eb16d2
Compare
|
When you hook up the existing VS solutions, be sure to generate a fetch wrapper with If it's header only, you don't need an MSVC project for it (but I would assume this isn't header only). If it isn't header only, you'll probably have to generate its project files with CMake first, move it to What I would do is take the file, but use one of the others as a base. Then just plug those parts into the one you copied as a base. I think that's generally how I approach them. |
* Separate MSVC client & server tests projects * Move to Server/tests and Client/tests * Don't bother implementing/building client-tests in CMake; there's no project for N3Base_client etc yet anyway * Build & run tests in build_msbuild_all.yml workflow * Tidy up CMakeLists.txt; don't contaminate the global include path (this should have used the target implementation, but googletest's CMake project already does this once referenced so it's fine)
Only googletest should've been in here.
The path is relative to the repository so it should be fine.
Also move client-tests to the default project in Tests.sln
No description provided.