test(app): add app test scaffolding and headless test harness
This commit is contained in:
1 parent
d679231fed
commit
1f1b78e50b
4 files changed
+105
No files matched your search
@@ -0,0 +1,15 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Headless;
|
||||
using Vantage.App;
|
||||
using Vantage.App.Tests;
|
||||
|
||||
[assembly: AvaloniaTestApplication(typeof(HeadlessTestApp))]
|
||||
|
||||
namespace Vantage.App.Tests;
|
||||
|
||||
public static class HeadlessTestApp
|
||||
{
|
||||
public static AppBuilder BuildAvaloniaApp() => AppBuilder
|
||||
.Configure<App>()
|
||||
.UseHeadless(new AvaloniaHeadlessPlatformOptions());
|
||||
}
|
||||
Reference in new issue
Block a user