From 9ac871fbfa53edd01bea6b989c56c70d2055afe9 Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 22 May 2026 00:45:05 +0400 Subject: [PATCH 1/6] (core+cake+ext) version bump --- VinTest.Cake/VinTest.Cake.csproj | 2 +- VinTest/VinTest.csproj | 2 +- docs/quickstart/cake-integration.md | 2 +- docs/quickstart/getting-started.md | 2 +- example/CakeBuild/CakeBuild.csproj | 2 +- example/MyMod.gametests/MyMod.gametests.csproj | 2 +- vscode-ext/package.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VinTest.Cake/VinTest.Cake.csproj b/VinTest.Cake/VinTest.Cake.csproj index a4127ac..d99d9ab 100644 --- a/VinTest.Cake/VinTest.Cake.csproj +++ b/VinTest.Cake/VinTest.Cake.csproj @@ -5,7 +5,7 @@ true VinTest.Cake - 0.0.0 + 0.1.0 Cake tasks for automating VintageStory mod game tests with VinTest. VintageStory modding testing cake git diff --git a/VinTest/VinTest.csproj b/VinTest/VinTest.csproj index 479f20e..10366af 100644 --- a/VinTest/VinTest.csproj +++ b/VinTest/VinTest.csproj @@ -5,7 +5,7 @@ true VinTest - 0.0.0 + 0.1.0 Create autotests for your Vintage Story mods. VintageStory modding testing git diff --git a/docs/quickstart/cake-integration.md b/docs/quickstart/cake-integration.md index e84b81a..a5ab53e 100644 --- a/docs/quickstart/cake-integration.md +++ b/docs/quickstart/cake-integration.md @@ -32,7 +32,7 @@ Update your `CakeBuild.csproj` C# project to use the [`VinTest.Cake`](/vintest/a - + diff --git a/docs/quickstart/getting-started.md b/docs/quickstart/getting-started.md index 6fee9bb..d49f705 100644 --- a/docs/quickstart/getting-started.md +++ b/docs/quickstart/getting-started.md @@ -53,7 +53,7 @@ Add a new C# project to your solution. By convention it is named `.game - + false diff --git a/example/CakeBuild/CakeBuild.csproj b/example/CakeBuild/CakeBuild.csproj index 908712b..7801a4c 100644 --- a/example/CakeBuild/CakeBuild.csproj +++ b/example/CakeBuild/CakeBuild.csproj @@ -17,7 +17,7 @@ Usually you'd want to alwas get a pinned VinTest version from NuGet. But you can use a local copy via Directory.Build.targets file. --> - + diff --git a/example/MyMod.gametests/MyMod.gametests.csproj b/example/MyMod.gametests/MyMod.gametests.csproj index 6b481d2..383c7ab 100644 --- a/example/MyMod.gametests/MyMod.gametests.csproj +++ b/example/MyMod.gametests/MyMod.gametests.csproj @@ -24,7 +24,7 @@ Usually you'd want to always get a pinned VinTest version from NuGet. But you can use a local copy via Directory.Build.targets file. --> - + diff --git a/vscode-ext/package.json b/vscode-ext/package.json index b469556..7091cad 100644 --- a/vscode-ext/package.json +++ b/vscode-ext/package.json @@ -2,7 +2,7 @@ "name": "vintest-adapter", "displayName": "VinTest Testing Adapter", "description": "Discovers and runs VinTest game tests via the VS Code Testing panel", - "version": "0.0.0", + "version": "0.1.0", "publisher": "Artalus", "repository": { "type": "git", From d820f7f4b49c59ddf28917161542051609030bf8 Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 22 May 2026 00:46:03 +0400 Subject: [PATCH 2/6] VS version bump --- .github/workflows/ci.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/pack.yml | 2 +- docs/guides/local-dev.md | 4 ++-- docs/quickstart/cake-integration.md | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57bf1aa..c12b58c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: if: needs.changes.outputs.csharp == 'true' runs-on: ubuntu-latest env: - VS_VERSION: "1.21.7" + VS_VERSION: "1.22.2" steps: - uses: actions/checkout@v6 - uses: actions/setup-dotnet@v5 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 87e9353..cc7d7cf 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,7 +18,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest env: - VS_VERSION: "1.21.7" + VS_VERSION: "1.22.2" steps: - uses: actions/configure-pages@v6 diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 5063ea2..66744bc 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -14,7 +14,7 @@ on: vs_version: description: "VintageStory version (for core/cake builds)" required: false - default: "1.21.7" + default: "1.22.2" jobs: pack: diff --git a/docs/guides/local-dev.md b/docs/guides/local-dev.md index aa4ec75..b1949fe 100644 --- a/docs/guides/local-dev.md +++ b/docs/guides/local-dev.md @@ -23,8 +23,8 @@ Vintage Story installation directory (the one that contains `VintagestoryAPI.dll ```xml - - E:/Games/VintageStoryManaged/1.21.7/VintagestoryAPI.dll + + E:/Games/VintageStoryManaged/1.22.2/VintagestoryAPI.dll ../../../VintageStory/VintagestoryAPI.dll diff --git a/docs/quickstart/cake-integration.md b/docs/quickstart/cake-integration.md index a5ab53e..013f174 100644 --- a/docs/quickstart/cake-integration.md +++ b/docs/quickstart/cake-integration.md @@ -131,7 +131,7 @@ dotnet run ` --project ./CakeBuild ` --target RunGameTests ` -- ` - --vs-path "D:/VintageStory/1.21.7" ` + --vs-path "D:/VintageStory/1.22.2" ` --data-path "../gamedata" ` --test-world "autotest" ` --manual-mode true @@ -166,7 +166,7 @@ dotnet run ` --project ./CakeBuild ` --target RunGameTests ` -- ` - --vs-path "D:/VintageStory/1.21.7" ` + --vs-path "D:/VintageStory/1.22.2" ` --data-path "../gamedata" ` --test-world "autotest" ` # (1)! From 4a5f09b85e7d44f9d1ead589fec5b49519f4eabc Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 22 May 2026 01:16:53 +0400 Subject: [PATCH 3/6] net8 -> 10 --- VinTest.Cake/VinTest.Cake.csproj | 2 +- VinTest/VinTest.csproj | 2 +- docs.py | 4 ++-- docs/quickstart/cake-integration.md | 2 +- docs/quickstart/getting-started.md | 2 +- example/CakeBuild/CakeBuild.csproj | 2 +- example/MyMod.gametests/MyMod.gametests.csproj | 2 +- example/MyMod.unittests/MyMod.unittests.csproj | 2 +- example/MyMod/MyMod.csproj | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/VinTest.Cake/VinTest.Cake.csproj b/VinTest.Cake/VinTest.Cake.csproj index d99d9ab..b70277e 100644 --- a/VinTest.Cake/VinTest.Cake.csproj +++ b/VinTest.Cake/VinTest.Cake.csproj @@ -1,6 +1,6 @@ - net8.0 + net10.0 enable true diff --git a/VinTest/VinTest.csproj b/VinTest/VinTest.csproj index 10366af..d046c35 100644 --- a/VinTest/VinTest.csproj +++ b/VinTest/VinTest.csproj @@ -1,6 +1,6 @@ - net8.0 + net10.0 enable true diff --git a/docs.py b/docs.py index 1ae31a9..44394f7 100755 --- a/docs.py +++ b/docs.py @@ -26,9 +26,9 @@ def main(args: Args) -> None: out = "dedo-out" shutil.rmtree(out, ignore_errors=True) if args.target == "core": - dll = "VinTest/bin/Release/net8.0/VinTest.dll" + dll = "VinTest/bin/Release/net10.0/VinTest.dll" elif args.target == "cake": - dll = "VinTest.Cake/bin/Release/net8.0/VinTest.Cake.dll" + dll = "VinTest.Cake/bin/Release/net10.0/VinTest.Cake.dll" elif args.target == "vintage": e = os.getenv("VINTAGE_STORY") if not e: diff --git a/docs/quickstart/cake-integration.md b/docs/quickstart/cake-integration.md index 013f174..44b1058 100644 --- a/docs/quickstart/cake-integration.md +++ b/docs/quickstart/cake-integration.md @@ -26,7 +26,7 @@ Update your `CakeBuild.csproj` C# project to use the [`VinTest.Cake`](/vintest/a Exe - net8.0 + net10.0 $(MSBuildProjectDirectory) diff --git a/docs/quickstart/getting-started.md b/docs/quickstart/getting-started.md index d49f705..9373c0d 100644 --- a/docs/quickstart/getting-started.md +++ b/docs/quickstart/getting-started.md @@ -39,7 +39,7 @@ Add a new C# project to your solution. By convention it is named `.game ```xml title="YourMod.gametests/YourMod.gametests.csproj" linenums="1" hl_lines="9-21" - net8.0 + net10.0 false bin\$(Configuration)\Mods\mod enable diff --git a/example/CakeBuild/CakeBuild.csproj b/example/CakeBuild/CakeBuild.csproj index 7801a4c..36f836c 100644 --- a/example/CakeBuild/CakeBuild.csproj +++ b/example/CakeBuild/CakeBuild.csproj @@ -1,7 +1,7 @@ Exe - net8.0 + net10.0 false $(MSBuildProjectDirectory) diff --git a/example/MyMod.gametests/MyMod.gametests.csproj b/example/MyMod.gametests/MyMod.gametests.csproj index 383c7ab..a4b77fd 100644 --- a/example/MyMod.gametests/MyMod.gametests.csproj +++ b/example/MyMod.gametests/MyMod.gametests.csproj @@ -1,6 +1,6 @@ - net8.0 + net10.0 false bin\$(Configuration)\Mods\mod enable diff --git a/example/MyMod.unittests/MyMod.unittests.csproj b/example/MyMod.unittests/MyMod.unittests.csproj index f67d7a3..246426f 100644 --- a/example/MyMod.unittests/MyMod.unittests.csproj +++ b/example/MyMod.unittests/MyMod.unittests.csproj @@ -6,7 +6,7 @@ implemented unit tests will run faster than gametests. - net8.0 + net10.0 enable diff --git a/example/MyMod/MyMod.csproj b/example/MyMod/MyMod.csproj index 8db15d6..43d7b70 100644 --- a/example/MyMod/MyMod.csproj +++ b/example/MyMod/MyMod.csproj @@ -1,6 +1,6 @@ - net8.0 + net10.0 false bin\$(Configuration)\Mods\mod enable From 3ff7092c1cc10255d85c38d3147548558d99d4b9 Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 22 May 2026 04:18:27 +0400 Subject: [PATCH 4/6] (core) ensure dll gets copied to consumers' output vintest.cake does NOT need this, since cakebuild is executable, but mod.gametests are library --- VinTest/VinTest.csproj | 5 +++++ VinTest/build/VinTest.targets | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 VinTest/build/VinTest.targets diff --git a/VinTest/VinTest.csproj b/VinTest/VinTest.csproj index d046c35..b04319e 100644 --- a/VinTest/VinTest.csproj +++ b/VinTest/VinTest.csproj @@ -21,4 +21,9 @@ false + + + + + diff --git a/VinTest/build/VinTest.targets b/VinTest/build/VinTest.targets new file mode 100644 index 0000000..95790be --- /dev/null +++ b/VinTest/build/VinTest.targets @@ -0,0 +1,13 @@ + + + + + + From 928a928ae3280be3749b6c0f46e1fd3826d21cbe Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 22 May 2026 14:10:59 +0400 Subject: [PATCH 5/6] docs: restore demo img --- .mdformat.toml | 1 + README.md | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.mdformat.toml b/.mdformat.toml index 67331be..4f98c3e 100644 --- a/.mdformat.toml +++ b/.mdformat.toml @@ -1,4 +1,5 @@ exclude = [ "docs/api/**", "vscode-ext/node_modules/**", + "README.md", ] diff --git a/README.md b/README.md index 9d289c7..c77a2fa 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ # VinTest — in-game testing framework for Vintage Story mods -![Demo](demo.png) - -VinTest lets you write automated tests for your Vintage Story mod that run inside the actual game. -Instead of guessing whether your code works, you launch VS with a companion test mod loaded alongside -your real mod, and the framework verifies your logic, then exits and reports the results. +| ![Demo](/docs/img/demo.png) | Make a mod for your mod that will test your mod while you mod it. | +| --- | --- | **Documentation: https://artalus.github.io/vintest/** From a637b3d845a5c48327fd1b44cea4f742ffddc46b Mon Sep 17 00:00:00 2001 From: Artalus Date: Fri, 22 May 2026 15:02:13 +0400 Subject: [PATCH 6/6] pack readme and license into nuget --- VinTest.Cake/VinTest.Cake.csproj | 7 +++++++ VinTest/VinTest.csproj | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/VinTest.Cake/VinTest.Cake.csproj b/VinTest.Cake/VinTest.Cake.csproj index b70277e..c71b092 100644 --- a/VinTest.Cake/VinTest.Cake.csproj +++ b/VinTest.Cake/VinTest.Cake.csproj @@ -9,8 +9,15 @@ Cake tasks for automating VintageStory mod game tests with VinTest. VintageStory modding testing cake git + LICENSE + README.md + + + + + diff --git a/VinTest/VinTest.csproj b/VinTest/VinTest.csproj index b04319e..8fe83b2 100644 --- a/VinTest/VinTest.csproj +++ b/VinTest/VinTest.csproj @@ -9,8 +9,15 @@ Create autotests for your Vintage Story mods. VintageStory modding testing git + LICENSE + README.md + + + + + $(VINTAGE_STORY)/VintagestoryAPI.dll