chore: scaffold Avalonia MVVM application and test project
This commit is contained in:
1 parent
2f6ce2e27c
commit
bb040ef89b
15 files changed
+266
No files matched your search
@@ -0,0 +1 @@
|
||||
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace SongTidy.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// Contains baseline tests that verify the test project is wired to the application assembly.
|
||||
/// </summary>
|
||||
[TestClass]
|
||||
public sealed class ProjectSmokeTests {
|
||||
/// <summary>
|
||||
/// Verifies that the main application assembly can be loaded from the test project.
|
||||
/// </summary>
|
||||
[TestMethod]
|
||||
public void MainAssemblyIsReferenced() {
|
||||
var assemblyName = typeof(global::SongTidy.ViewModels.MainWindowViewModel).Assembly.GetName().Name;
|
||||
|
||||
Assert.AreEqual("SongTidy", assemblyName);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MSTest" Version="4.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SongTidy\SongTidy.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in new issue
Block a user