diff --git a/docs/Native Tests.md b/docs/Native Tests.md index b1261c48ba..3c6f10a103 100644 --- a/docs/Native Tests.md +++ b/docs/Native Tests.md @@ -1 +1,9 @@ -# Native Code Testing Guide \ No newline at end of file +# 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 ` and follow gtest guidelines for creating your test suite. \ No newline at end of file