Skip to content

Playground for testing automated testing frameworks for c++ native, c++ clr and c#.net

Notifications You must be signed in to change notification settings

relascope/TestingCppClrCs

Repository files navigation

C++ Testing for C++ Native to C++ CLR to C#.net

Microsoft C++ Testing

At the moment, the test cases calling into C# code are building, but failing when running.

When the Test-Project is configured to compile with .NET CLR (/clr), the tests are not discovered any more in the TestExplorer.

Google-Test

Tests succeed, when calling into C# Compiling wiht /clr possible, tests discovered Linking against *.obj possible, but be sure, there is no "main"

Typemock Isolator++

Working with Microsoft C++ Test Not working with google test

Projects

ClassLibraryCS

C# class

CppClassLibCLR

C++ calling C# class

CppNative

C++ native calling C++/CLR main: here the calls into the C#-class succeed no symbols exported

CppNativeDll

C++ native Dll calling C++/CLR Exporting symbols

TestingCppClrCs

Tests calling into the different projects references CppNative via obj-file (and therefore also CppClassLibCLR via lib) references CppNativeDll via lib

GoogleTestNugetConsole

Google-Test Project references CppNativeDll

About

Playground for testing automated testing frameworks for c++ native, c++ clr and c#.net

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages