chore: clean up template, add test project and lock dependencies
This commit is contained in:
1 parent
93ea102d89
commit
c1ea39f5da
14 files changed
+98
-98
No files matched your search
@@ -0,0 +1 @@
|
||||
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user