GeezerVison is showing github.com — output url so when test fails you can more easily troubleshoot · PowerShell/PowerShell@7dce411
File tree
Expand file treeCollapse file tree
Open diff view settings
test/powershell/Installer
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/powershell/Installer/WindowsInstaller.Tests.ps1 +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,13 +9,13 @@ Describe "Windows Installer" -Tags "Scenario" { |
9 | 9 | @{ Name = "WMF 5.1"; Url = "https://www.microsoft.com/download/details.aspx?id=54616" } |
10 | 10 | ) |
11 | 11 | } |
12 | | - |
| 12 | + |
13 | 13 | It "WiX (Windows Installer XML) file contains pre-requisites link $preRequisitesLink" { |
14 | 14 | $wixProductFile = Join-Path -Path $PSScriptRoot -ChildPath "..\..\..\assets\Product.wxs" |
15 | 15 | (Get-Content $wixProductFile -Raw).Contains($preRequisitesLink) | Should Be $true |
16 | 16 | } |
17 | 17 |
|
18 | | - It "Pre-Requisistes link for '<Name>' is reachable" -TestCases $linkCheckTestCases -Test { |
| 18 | + It "Pre-Requisistes link for '<Name>' is reachable: <url>" -TestCases $linkCheckTestCases -Test { |
19 | 19 | param ($Url) |
20 | 20 |
|
21 | 21 | # Because an outdated link 'https://www.microsoft.com/download/details.aspx?id=504100000' would still return a 200 reponse (due to a redirection to an error page), it only checks that it returns something |
|