Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Test/include/run_BeforeAfter.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Run Before and After any test
#

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
# Supported by TestingHelper 4.1.0 we can specify code that will run :
# - Before each test
# - After each test
# - Before all tests
# - After all tests

function Run_BeforeAll{
Write-Verbose "Run_BeforeAll"
}

function Run_AfterAll{
Write-Verbose "Run_AfterAll"
}

function Run_BeforeEach{
Write-Verbose "Run_BeforeEach"
}

function Run_AfterEach{
Write-Verbose "Run_AfterEach"
}

Export-ModuleMember -Function Run_*
Loading