Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 943 Bytes

File metadata and controls

20 lines (14 loc) · 943 Bytes

C++/CLI NUnit Documentation

Documentation for the cpp-cli-syntax sample project, which demonstrates NUnit testing of a C++/CLI (.NET Core) assembly.

Articles

Document Description
Setup Guide Complete walkthrough: project configuration, package references, writing tests, build and test scripts
Troubleshooting Solutions for the specific failures that occur with this setup — hanging testhost, missing DLLs, NUnit 4/5 API changes
GitHub Actions CI How to run CI on GitHub Actions: why VS 2026 Build Tools must be installed, the full annotated workflow, component IDs, and expected timings

Quick reference

build.cmd   →  compiles the project + copies runtime DLLs to Debug\
test.cmd    →  runs vstest.console.exe against Debug\cpp-cli-syntax.dll

All 34 tests should pass on a successful build.