mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
Updated Native Tests.md
This commit is contained in:
parent
f5390e9405
commit
db36a4c191
@ -1 +1,9 @@
|
||||
# Native Code Testing Guide
|
||||
# Native Code Testing Guide
|
||||
|
||||
"Native" tests are tests which validate the native C/C++ function calls into the system library. To run ONLY the native tests, it is assumed that you have completed the process in the README.md, and have run `source monad-docker.sh`.
|
||||
|
||||
From the scripts directory, run `monad-run make -j native-tests`. This will output an xml file to your scripts directory.
|
||||
|
||||
# Creating new tests
|
||||
|
||||
monad-linux/src/monad-native/src/tests is the test folder containing all the .cpp files. you will need to `#include <gtest/gtest.h>` and follow gtest guidelines for creating your test suite.
|
Loading…
Reference in New Issue
Block a user