mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
* Add BizTalk Project Build components, including msi and vsix. * Add BizTalk Build Components to software report. * Use registry/folder check replace actually BizTalk Project building for testing purpose. * Remove unnecessary try/catch. * Make sure BizTalk related software report only for Windows 2019 OS. * Add statement to make sure BizTalk test only invoked in Win19 env. * Fix test failue when no test runs use "skip" * Update the TestName to be identity to BizTalk.Test.ps1
19 lines
809 B
PowerShell
19 lines
809 B
PowerShell
################################################################################
|
|
## File: BizTalk.Tests.ps1
|
|
## Desc: Test BizTalk project build component installed.
|
|
################################################################################
|
|
|
|
Describe "BizTalk Build Component Setup" -Skip:(Test-IsWin16) {
|
|
It "BizTalk Registry Check" {
|
|
Test-Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\BizTalk Server\3.0" | Should -BeTrue
|
|
}
|
|
|
|
It "BizTalk Folder Check" {
|
|
"${env:ProgramFiles(x86)}\Microsoft BizTalk Server" | Should -Exist
|
|
}
|
|
|
|
It "BizTalk Build Targets files Check" {
|
|
"${env:ProgramFiles(x86)}\MSBuild\Microsoft\BizTalk\BizTalkC.targets" | Should -Exist
|
|
"${env:ProgramFiles(x86)}\MSBuild\Microsoft\BizTalk\BizTalkCommon.targets" | Should -Exist
|
|
}
|
|
} |