From 0cc676aec29bf3652f14726770228253628d2255 Mon Sep 17 00:00:00 2001 From: PeterCJ Date: Fri, 5 Jul 2024 14:01:18 -0700 Subject: [PATCH] update FunctionList requirements clarify that the JSON's `root` attribute needs a value of `unitTest` in order to pass --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9e9859..0f7c0ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,6 +62,7 @@ Your submission must also include some Unit Test information, similar to the [Fu 0. Make sure that your UDL and FunctionList definition are working in your local Notepad++, showing the right functions (and classes) in the Function List panel for your sample file. 1. Run `notepad++ -multiInst -nosession -export=functionList -udl="" ""` , which will create `unitTest.result.json` in the same directory as your example file + - If the `root` in the JSON is not `unitTest`, it will fail during the automatic testing. Thus, to make sure the testing passes, either your filename in `` should temporarily be `unitTest` when running this step, or you will need to edit the contents of `unitTest.result.json` to have `"root":"unitTest"` instead of `"root":""`. 2. Create `Test\functionList\\` in your repo, where `` must match the `id-name` from the JSON, exactly. 3. Copy `unitTest.result.json` to `Test\functionList\\unitTest.expected.result`