summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-21 00:19:12 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-21 00:19:12 -0400
commite48f2301423f5177ec875308348fd4a83a071c3b (patch)
tree7cb211ada5b6392a5c4df5e54a722380d9f7b689 /docs
parentde5ee6f928339198d3c3ab0a91e9343863782c59 (diff)
downloadSMAPI-e48f2301423f5177ec875308348fd4a83a071c3b.tar.gz
SMAPI-e48f2301423f5177ec875308348fd4a83a071c3b.tar.bz2
SMAPI-e48f2301423f5177ec875308348fd4a83a071c3b.zip
add unit test mode to mod build config package
Diffstat (limited to 'docs')
-rw-r--r--docs/mod-build-config.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/mod-build-config.md b/docs/mod-build-config.md
index ca750c86..2616d8a5 100644
--- a/docs/mod-build-config.md
+++ b/docs/mod-build-config.md
@@ -120,6 +120,19 @@ or you have multiple installs, you can specify the path yourself. There's two wa
The configuration will check your custom path first, then fall back to the default paths (so it'll
still compile on a different computer).
+### Unit test projects
+**(upcoming in 2.0.3)**
+
+You can use the package in unit test projects too. Its optional unit test mode...
+
+1. disables deploying the project as a mod;
+2. disables creating a release zip;
+2. and copies the referenced DLLs into the build output for unit test frameworks.
+
+To enable it, add this above the first `</PropertyGroup>` in your `.csproj`:
+```xml
+<ModUnitTests>True</ModUnitTests>
+```
## Troubleshoot
### "Failed to find the game install path"