-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GD-26: Use gdnunt4.test.adapter to run C# tests
# Why With the `gdunit.test.adaper` we can direct run the tests via `dotnet test` # What - `Added step `Run C# Tests` - check `godot-net` to deside beteen GDScript or C# step
- Loading branch information
1 parent
bd13a93
commit f652cc7
Showing
2 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RunSettings> | ||
<RunConfiguration> | ||
<MaxCpuCount>1</MaxCpuCount> | ||
<ResultsDirectory>./TestResults</ResultsDirectory> | ||
<TargetFrameworks>net7.0;net8.0</TargetFrameworks> | ||
<TestSessionTimeout>180000</TestSessionTimeout> | ||
<TreatNoTestsAsError>true</TreatNoTestsAsError> | ||
</RunConfiguration> | ||
|
||
<LoggerRunSettings> | ||
<Loggers> | ||
<Logger friendlyName="console" enabled="True"> | ||
<Configuration> | ||
<Verbosity>detailed</Verbosity> | ||
</Configuration> | ||
</Logger> | ||
<Logger friendlyName="html" enabled="True"> | ||
<Configuration> | ||
<LogFileName>test-result.html</LogFileName> | ||
</Configuration> | ||
</Logger> | ||
<Logger friendlyName="trx" enabled="True"> | ||
<Configuration> | ||
<LogFileName>test-result.trx</LogFileName> | ||
</Configuration> | ||
</Logger> | ||
</Loggers> | ||
</LoggerRunSettings> | ||
|
||
<GdUnit4> | ||
<!-- Additonal Godot runtime parameters--> | ||
<Parameters></Parameters> | ||
<!-- Controlls the Display name attribute of the TestCase. Allowed values are SimpleName and FullyQualifiedName. | ||
This likely determines how the test names are displayed in the test results.--> | ||
<DisplayName>FullyQualifiedName</DisplayName> | ||
</GdUnit4> | ||
</RunSettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters