Skip to content

Fix #300 ProjectTemplate creates reference to Reqnroll.MsTest v1.0.0 #162

Fix #300 ProjectTemplate creates reference to Reqnroll.MsTest v1.0.0

Fix #300 ProjectTemplate creates reference to Reqnroll.MsTest v1.0.0 #162

Triggered via pull request October 23, 2024 16:08
Status Failure
Total duration 6m 16s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 21 warnings
[@traits.Category] Misformatted feature file is cleaned up: Tests/Reqnroll.VisualStudio.Specs/Features/Editor/Commands/AutoFormatDocumentCommand.feature#L55
Expected tagged.WaitOne(TimeSpan.FromSeconds(5)) to be True because Auto Format Document() haven't triggered a text change, but found False. at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.PerformCommand(String commandName, String parameter, Nullable`1 commandTargetKey, Boolean waitForTager) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 491 at lambda_method(Closure , IContextManager , String ) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Reqnroll.Bindings.BindingInvoker.<InvokeBindingAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Infrastructure.TestExecutionEngine.<ExecuteStepMatchAsync>d__59.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Infrastructure.TestExecutionEngine.<ExecuteStepAsync>d__56.MoveNext() at Reqnroll.Infrastructure.TestExecutionEngine.<OnAfterLastStepAsync>d__38.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.TestRunner.<CollectScenarioErrorsAsync>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.VisualStudio.Specs.Features.Editor.Commands.AutoFormatDocumentCommandFeature.<ScenarioCleanupAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.VisualStudio.Specs.Features.Editor.Commands.AutoFormatDocumentCommandFeature.<MisformattedFeatureFileIsCleanedUp>d__13.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\Features\Editor\Commands\AutoFormatDocumentCommand.feature:line 55 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: microsoft/[email protected], nuget/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: Reqnroll.VisualStudio/Editor/Services/StepFinderBase.cs#L61
Cannot convert null literal to non-nullable reference type.
build: Reqnroll.VisualStudio/Editor/Services/DeveroomTaggerProvider.cs#L37
Possible null reference argument for parameter 'projectScope' in 'IDeveroomConfigurationProvider ConfigurationProjectSystemExtensions.GetDeveroomConfigurationProvider(IProjectScope projectScope)'.
build: Reqnroll.VisualStudio/Editor/Commands/FindUnusedStepDefinitionsCommand.cs#L111
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Reqnroll.VisualStudio/Editor/Commands/RenameStepStepDefinitionClassAction.cs#L50
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistryCache.cs#L124
Argument of type 'IEnumerable<SourceLocation?>' cannot be used for parameter 'sourceLocations' of type 'IEnumerable<SourceLocation>' in 'void IIdeScope.CalculateSourceLocationTrackingPositions(IEnumerable<SourceLocation> sourceLocations)' due to differences in the nullability of reference types.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistryCache.cs#L134
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistry.cs#L219
Dereference of a possibly null reference.
build: Tests/Reqnroll.VisualStudio.Tests/Editor/Commands/RenameStepCommandTests.cs#L113
Null should not be used for type parameter 'emptyExpression' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.V1/Discovery/RemotingBaseDiscoverer.cs#L40
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L10
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L10
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.V1/Discovery/RemotingBaseDiscoverer.cs#L40
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/AspNetCoreAssemblyResolver.cs#L5
Nullability of reference types in type of parameter 'assemblies' of 'bool AspNetCoreAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/NugetCacheAssemblyResolver.cs#L5
Nullability of reference types in type of parameter 'assemblies' of 'bool NugetCacheAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/RuntimeCompositeCompilationAssemblyResolver.cs#L14
Nullability of reference types in type of parameter 'assemblies' of 'bool RuntimeCompositeCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).

Artifacts

Produced during runtime
Name Size
trx-test-results
254 KB
vsix
16.3 MB