Skip to content

Commit d3beec2

Browse files
feat: add initial test files for Environment and PSModuleTest
1 parent e128f3f commit d3beec2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

tests/Environment.Tests.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
BeforeAll {
2+
# Minimal test file for validation purposes
3+
}
4+
5+
Describe 'Environment' {
6+
It 'Should have PowerShell available' {
7+
$PSVersionTable.PSVersion | Should -Not -BeNullOrEmpty
8+
}
9+
10+
It 'Should have expected OS platform' {
11+
$PSVersionTable.Platform | Should -BeIn @('Win32NT', 'Unix')
12+
}
13+
}

tests/PSModuleTest.Tests.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
BeforeAll {
2+
# Minimal test file for validation purposes
3+
}
4+
5+
Describe 'PSModuleTest' {
6+
It 'Should pass basic test' {
7+
$true | Should -Be $true
8+
}
9+
10+
It 'Should have test context available' {
11+
$PSScriptRoot | Should -Not -BeNullOrEmpty
12+
}
13+
}

0 commit comments

Comments
 (0)