From e7bbdc5ece81cf3c02eeef5646e823ca5005677f Mon Sep 17 00:00:00 2001 From: apple1417 Date: Sun, 13 Nov 2022 07:35:12 +1300 Subject: [PATCH] bit of documentation on tests --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2912b4e..a797971 100644 --- a/README.md +++ b/README.md @@ -150,3 +150,12 @@ To get started developing: which will drop your debugger session when launching the exe directly - adding this file prevents that. Not only does this let you debug from entry, it also unlocks some really useful debugger features which you can't access from just an attach (i.e. Visual Studio's Edit and Continue). + +## Testing +This project also contains a number of tests, built into a seperate test target using +[doctest](https://github.com/doctest/doctest/blob/master/doc/markdown/commandline.md). The test +executable should be run from the repo root - it looks at some of the files in the `tests` folder, +including via url (on master). + +The test cases mostly just cover the mod loading process, to ensure files are intepreted correctly. +The only way to test the hooks/hotfix injection is to inject the dll and see if it works manually.