Tweaks for JSON loading, minor refactor of unit tests
This commit is contained in:
11 files changed
+63
-34
No files matched your search
@@ -15,6 +15,8 @@ public class IntegrationTestRunner
|
||||
var serializerOptions = new JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
AllowTrailingCommas = true,
|
||||
ReadCommentHandling = JsonCommentHandling.Skip,
|
||||
};
|
||||
foreach (var file in files)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,12 @@ public class IntegrationTestModel
|
||||
public string Description { get; set; } = null!;
|
||||
public IntegrationTestBattleSetup BattleSetup { get; set; } = null!;
|
||||
public IntegrationTestAction[] Actions { get; set; } = null!;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
}
|
||||
|
||||
public class IntegrationTestBattleSetup
|
||||
|
||||
Reference in new issue
Block a user