Skip to content

Commit

Permalink
Test tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Feb 22, 2024
1 parent 32e3cec commit 63a90b0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/PSModuleTest.Tests.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Describe "PSModuleTest.Tests.ps1" {
It "Should be able to import the module" {
Import-Module -Name 'PSModuleTest'
Get-Module -Name 'PSModuleTest' | Should -Not -BeNullOrEmpty
Write-Verbose (Get-Module -Name 'PSModuleTest' | Out-String) -Verbose
}
It "Should be able to call the function" {
Test-PSModuleTest -Name 'World' | Should -Be "Hello, World!"
Write-Verbose (Test-PSModuleTest -Name 'World' | Out-String) -Verbose
}
}

0 comments on commit 63a90b0

Please sign in to comment.