Skip to content

Add tests to CI

Add tests to CI #25

GitHub Actions / MsTest Specs failed Jan 16, 2024 in 0s

MsTest Specs ❌

Tests failed

❌ Tests/Reqnroll.Specs/TestResults/specs-mstest-results.trx

7 tests were completed in 38s with 6 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Reqnroll.Specs.Features._NETLanguageCode_BehindGenerationSupportFeature_MSTest_Net60_New_CSharp 4✅ 36s
Reqnroll.Specs.Features.MultipleSpecsProjectsFeature_MSTest_Net60_New_CSharp 2✅ 26s
Reqnroll.Specs.Features.UnitTestProviderSpecific.MsTest.DeploymentItemFeature_MSTest_Net60_New_CSharp 1❌ 13s

✅ Reqnroll.Specs.Features._NETLanguageCode_BehindGenerationSupportFeature_MSTest_Net60_New_CSharp

✅ A project with a single scenario should compile successfully in all supported languages and build systems(description: "C# with dotnet build", language: "C#", buildCommand: "dotnet build", exampleTags: [])
✅ A project with a single scenario should compile successfully in all supported languages and build systems(description: "C# with dotnet msbuild", language: "C#", buildCommand: "dotnet msbuild", exampleTags: [])
✅ A project with a single scenario should compile successfully in all supported languages and build systems(description: "VB.NET with dotnet build", language: "VB.NET", buildCommand: "dotnet build", exampleTags: [])
✅ A project with a single scenario should compile successfully in all supported languages and build systems(description: "VB.NET with dotnet msuild", language: "VB.NET", buildCommand: "dotnet msbuild", exampleTags: [])

✅ Reqnroll.Specs.Features.MultipleSpecsProjectsFeature_MSTest_Net60_New_CSharp

✅ Two projects with the same unit test provider(buildTool: "dotnet build", exampleTags: [])
✅ Two projects with the same unit test provider(buildTool: "dotnet msbuild", exampleTags: [])

❌ Reqnroll.Specs.Features.UnitTestProviderSpecific.MsTest.DeploymentItemFeature_MSTest_Net60_New_CSharp

❌ Should be able to deploy files to specific folder
	Reqnroll.Assist.ComparisonException : The following fields did not match:
	Succeeded: Expected <1>, Actual <0>, Using 'Reqnroll.Assist.ValueComparers.DefaultValueComparer'

Annotations

Check failure on line 43 in Reqnroll/Assist/InstanceComparisonExtensionMethods.cs

See this annotation in the file changed.

@github-actions github-actions / MsTest Specs

Reqnroll.Specs.Features.UnitTestProviderSpecific.MsTest.DeploymentItemFeature_MSTest_Net60_New_CSharp ► Should be able to deploy files to specific folder

Failed test found in:
  Tests/Reqnroll.Specs/TestResults/specs-mstest-results.trx
Error:
  Reqnroll.Assist.ComparisonException : The following fields did not match:
  Succeeded: Expected <1>, Actual <0>, Using 'Reqnroll.Assist.ValueComparers.DefaultValueComparer'
Raw output
Reqnroll.Assist.ComparisonException : The following fields did not match:
Succeeded: Expected <1>, Actual <0>, Using 'Reqnroll.Assist.ValueComparers.DefaultValueComparer'
   at Reqnroll.Assist.InstanceComparisonExtensionMethods.ThrowAnExceptionThatDescribesThoseDifferences(IEnumerable`1 differences) in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/Assist/InstanceComparisonExtensionMethods.cs:line 43
   at Reqnroll.Assist.InstanceComparisonExtensionMethods.CompareToInstance[T](Table table, T instance) in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/Assist/InstanceComparisonExtensionMethods.cs:line 19
   at Reqnroll.Specs.StepDefinitions.ExecutionResultSteps.ThenTheExecutionSummaryShouldContain(Table expectedTestExecutionResult) in /home/runner/work/Reqnroll/Reqnroll/Tests/Reqnroll.Specs/StepDefinitions/ExecutionResultSteps.cs:line 42
--- End of stack trace from previous location ---
   at Reqnroll.Bindings.BindingInvoker.InvokeBindingAsync(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, DurationHolder durationHolder) in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/Bindings/BindingInvoker.cs:line 84
   at Reqnroll.Infrastructure.TestExecutionEngine.ExecuteStepMatchAsync(BindingMatch match, Object[] arguments, DurationHolder durationHolder) in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/Infrastructure/TestExecutionEngine.cs:line 571
   at Reqnroll.Infrastructure.TestExecutionEngine.ExecuteStepAsync(IContextManager contextManager, StepInstance stepInstance) in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/Infrastructure/TestExecutionEngine.cs:line 482
   at Reqnroll.Infrastructure.TestExecutionEngine.OnAfterLastStepAsync() in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/Infrastructure/TestExecutionEngine.cs:line 236
   at Reqnroll.TestRunner.CollectScenarioErrorsAsync() in /home/runner/work/Reqnroll/Reqnroll/Reqnroll/TestRunner.cs:line 60
   at Reqnroll.Specs.Features.UnitTestProviderSpecific.MsTest.DeploymentItemFeature_MSTest_Net60_New_CSharp.ScenarioCleanupAsync()
   at Reqnroll.Specs.Features.UnitTestProviderSpecific.MsTest.DeploymentItemFeature_MSTest_Net60_New_CSharp.ShouldBeAbleToDeployFilesToSpecificFolder() in /home/runner/work/Reqnroll/Reqnroll/Tests/Reqnroll.Specs/Features/UnitTestProviderSpecific/MsTest/DeploymentItem.feature:line 77
--- End of stack trace from previous location ---