Fix indentation #100
Annotations
3 errors and 11 warnings
TestWare.Samples.API.Features.AgeCalculationsFeature ► ScenarioThatCombinesTwoDifferentApis:
./results/results.trx#L0
Failed test found in:
./results/results.trx
Error:
Expected string to be "45", but "44" differs near "4" (index 1).
|
TestWare.Samples.API.Features.AgeCalculationsFeature ► ScenarioThatCombinesTwoDifferentApis:
./results/results.trx#L0
Failed test found in:
./results/results.trx
Error:
Expected string to be "45", but "44" differs near "4" (index 1).
|
TestWare.Samples.API.Features.AgeCalculationsFeature ► ScenarioThatCombinesTwoDifferentApis:
./results/results.trx#L0
Failed test found in:
./results/results.trx
Error:
Expected string to be "45", but "44" differs near "4" (index 1).
|
sonarScan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1, actions/setup-java@v1, actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
sonarScan:
src/Core/TestWare.Core/EngineManagerBase.cs#L6
Remove this empty class, write its code or make it an "interface".
|
sonarScan:
src/Core/TestWare.Core/ContainerManager.cs#L48
"Find" method should be used instead of the "FirstOrDefault" extension method.
|
sonarScan:
src/Core/TestWare.Core/ContainerManager.cs#L109
Collection-specific "Exists" method should be used instead of the "Any" extension.
|
sonarScan:
src/Core/TestWare.Core/ContainerManager.cs#L102
Collection-specific "Exists" method should be used instead of the "Any" extension.
|
sonarScan:
src/Core/TestWare.Core/ContainerManager.cs#L144
"Find" method should be used instead of the "FirstOrDefault" extension method.
|
sonarScan:
src/Core/TestWare.Core/ContainerManager.cs#L144
'_dependencies.FirstOrDefault(x => x.Instance.Equals(instance))' is null on at least one execution path.
|
sonarScan:
src/Core/TestWare.Core/AutomationLifeCycleBase.cs#L145
Pass a timeout to limit the execution time.
|
sonarScan:
src/Engines/TestWare.Engines.API/Resources/ResourceBase.cs#L21
'System.ApplicationException' should not be thrown by user code.
|
sonarScan:
src/Engines/TestWare.Engines.API/Resources/ResourceBase.cs#L31
'System.ApplicationException' should not be thrown by user code.
|
sonarScan:
src/Engines/TestWare.Engines.API/ApiManager.cs#L21
'singleCapability' is null on at least one execution path.
|