chore: clean up template, add test project and lock dependencies

This commit is contained in:
yyc12345 committed 2026-10-02 21:22:20 +08:00
1 parent 93ea102d89
commit c1ea39f5da
14 files changed
+98 -98

No files matched your search

+1
View File
@@ -0,0 +1 @@
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
+17
View File
@@ -0,0 +1,17 @@
using YKanBan.ViewModels;
namespace YKanBan.Tests;
/// <summary>
/// Smoke tests verifying the wiring between the test project and the main application project.
/// </summary>
[TestClass]
public sealed class SmokeTests {
/// <summary>
/// Verifies that the main application assembly is referenced and can be resolved at runtime.
/// </summary>
[TestMethod]
public void MainAssemblyIsReferenced() {
Assert.AreEqual("YKanBan", typeof(ViewModelBase).Assembly.GetName().Name);
}
}
+23
View File
@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSTest" Version="4.4.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\YKanBan\YKanBan.csproj" />
</ItemGroup>
<ItemGroup>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>
</Project>