GitHub Actions / Dotnet Test Results
failed
Oct 18, 2024 in 0s
1 fail, 11 359 pass in 30m 21s
72 files 72 suites 30m 21s ⏱️
11 360 tests 11 359 ✅ 0 💤 1 ❌
26 451 runs 26 450 ✅ 0 💤 1 ❌
Results for commit 7a5fb72.
Annotations
Check warning on line 0 in Bicep.Core.IntegrationTests.ParameterTests
github-actions / Dotnet Test Results
1 out of 2 runs failed: Invalid_extends_reference_does_not_exist_should_fail (Bicep.Core.IntegrationTests.ParameterTests)
TestResults/runneradmin_fv-az1115-358_2024-10-18_21_27_00.trx [took 0s]
Raw output
Expected AssertionExtensions to satisfy all inspectors, but some inspectors are not satisfied:
At index 0:
Expected message to be "An error occurred reading file. Could not find file '/path/to/does-not-exists.bicepparam'." but it was "An error occurred reading file. Could not find file 'C:\path\to\does-not-exists.bicepparam'."
With diagnostics:
2| using 'main.bicep'
3| extends 'does-not-exists.bicepparam'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [BCP091 (Error)] An error occurred reading file. Could not find file 'C:\path\to\does-not-exists.bicepparam'.
4| param foo = ''
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
at FluentAssertions.Execution.AssertionScope.Dispose()
at Bicep.Core.UnitTests.Assertions.DiagnosticAssertions.DoWithDiagnosticAnnotations(BicepSourceFile bicepFile, IEnumerable`1 diagnostics, Action`1 action) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\DiagnosticAssertions.cs:line 57
at Bicep.Core.UnitTests.Assertions.ParamsCompilationResultAssertions.DoWithDiagnosticAnnotations(Action`1 action) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\ParamsCompilationResultAssertions.cs:line 45
at Bicep.Core.UnitTests.Assertions.ParamsCompilationResultAssertions.HaveDiagnostics(IEnumerable`1 expectedDiagnostics, String because, Object[] becauseArgs) in D:\a\bicep\bicep\src\Bicep.Core.UnitTests\Assertions\ParamsCompilationResultAssertions.cs:line 63
at Bicep.Core.IntegrationTests.ParameterTests.Invalid_extends_reference_does_not_exist_should_fail() in D:\a\bicep\bicep\src\Bicep.Core.IntegrationTests\ParametersTests.cs:line 447
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Loading