Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/aldrichtr/stitch
Browse files Browse the repository at this point in the history
  • Loading branch information
aldrichtr committed Jun 12, 2023
2 parents 6832a2d + ee330bb commit 8f6d799
Show file tree
Hide file tree
Showing 406 changed files with 25,500 additions and 0 deletions.
875 changes: 875 additions & 0 deletions .build.ps1

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@{
Greeting = 'Hello World'
}
218 changes: 218 additions & 0 deletions .build/profiles/default/pester/IntegrationTests.config.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
@{
Run = @{
# Default @('.')
# Directories to be searched for tests, paths directly to test files, or combination of
# both.'
Path = @(
'./tests/Integration/'
)

# Default @()
# Directories or files to be excluded from the run.'
ExcludePath = @(
'./tests/Unit'
)

# Default @()
# ScriptBlocks containing tests to be executed.'
ScriptBlock = @()

# Default @()
# ContainerInfo objects containing tests to be executed.'
Container = @()

# Default '.Tests.ps1'
# Filter used to identify test files.'
TestExtension = '.Tests.ps1'

# Default $false
# Exit with non-zero exit code when the test run fails. When used together with Throw,
# throwing an exception is preferred.'
Exit = $true

# Default $false
# Throw an exception when test run fails. When used together with Exit, throwing an exception
# is preferred.'
Throw = $false

# Default $false
# Return result object to the pipeline after finishing the test run.'
PassThru = $false

# Default $false
# Runs the discovery phase but skips run. Use it with PassThru to get object populated with
# all tests.'
SkipRun = $false

# Default 'None'
# Skips remaining tests after failure for selected scope, options are None, Run,
# Container and Block.
SkipRemainingOnFailure = 'None'
}

Filter = @{
# Default @()
# Tags of Describe, Context or It to be run.
Tag = @()

# Default @()
# Tags of Describe, Context or It to be excluded from the run.
ExcludeTag = @('unit')

# Default @()
# Filter by file and scriptblock start line, useful to run parsed tests programatically to
# avoid problems with expanded names. Example: ''C:\tests\file1.Tests.ps1:37''
Line = @()

# Default @()
# Exclude by file and scriptblock start line, takes precedence over Line.
ExcludeLine = @()

# Default @()
# Full name of test with -like wildcards, joined by dot. Example: ''*.describe
# Get-Item.test1''
FullName = @()

}

CodeCoverage = @{
# Default $false
# Enable CodeCoverage.
Enabled = $false

# Default 'JaCoCo'
# Format to use for code coverage report. Possible values: JaCoCo, CoverageGutters'
OutputFormat = 'CoverageGutters'

# Default 'coverage.xml'
# Path relative to the current directory where code coverage report is saved.'
OutputPath = 'out\coverage.xml'

# Default 'UTF8'
# Encoding of the output file.'
OutputEncoding = 'UTF8'

# Default @()
# Directories or files to be used for codecoverage, by default the Path(s) from general
# settings are used, unless overridden here.'
Path = @(
'source'
)

# Default $true
# Exclude tests from code coverage. This uses the TestFilter from general configuration.'
ExcludeTests = $true

# Default $true
# Will recurse through directories in the Path option.'
RecursePaths = $true

# Default 75
# Target percent of code coverage that you want to achieve, # Default 75%.'
CoveragePercentTarget = 75

# Default $true
# EXPERIMENTAL: When false, use Profiler based tracer to do CodeCoverage instead of using
# breakpoints.'
UseBreakpoints = $true

# Default $true
# Remove breakpoint when it is hit.'
SingleHitBreakpoints = $true

}

TestResult = @{
# Default $false
# Enable TestResult.'
Enabled = $false

# Default 'NUnitXml'
# Format to use for test result report. Possible values: NUnitXml, NUnit2.5 or JUnitXml'
OutputFormat = 'NUnitXml'

# Default 'testResults.xml'
# Path relative to the current directory where test result report is saved.'
OutputPath = 'testResults.xml'

# Default 'UTF8'
# Encoding of the output file.'
OutputEncoding = 'UTF8'

# Default 'Pester'
# Set the name assigned to the root ''test-suite'' element.'
TestSuiteName = 'Pester'

}

Should = @{
# Default 'Stop'
# Controls if Should throws on error. Use ''Stop'' to throw on error, or ''Continue'' to fail
# at the end of the test.'
ErrorAction = 'Continue'

}

Debug = @{
# Default $false
# Show full errors including Pester internal stack. This property is deprecated, and if set
# to true it will override Output.StackTraceVerbosity to ''Full''.'
ShowFullErrors = $false

# Default $false
# Write Debug messages to screen.'
WriteDebugMessages = $false

# Default @(
# 'Discovery'
# 'Skip'
# 'Mock'
# 'CodeCoverage'
# )
# Write Debug messages from a given source, WriteDebugMessages must be set to true for this
# to work. You can use like wildcards to get messages from multiple sources, as well as * to get
# everything.'
WriteDebugMessagesFrom = @(
'Discovery'
#'Skip'
#'Mock'
#'CodeCoverage'
)

# Default $false
# Write paths after every block and test, for easy navigation in VSCode.'
ShowNavigationMarkers = $true

# Default $false
# Returns unfiltered result object, this is for development only. Do not rely on this object
# for additional properties, non-public properties will be renamed without previous notice.'
ReturnRawResultObject = $false
}

Output = @{
# Default 'Normal'
# The verbosity of output, options are None, Normal, Detailed and Diagnostic.'
Verbosity = 'Normal'

# Default 'Filtered'
# The verbosity of stacktrace output, options are None, FirstLine, Filtered and Full.'
StackTraceVerbosity = 'None'

# Default 'Auto'
# The CI format of error output in build logs, options are None, Auto, AzureDevops and
# GithubActions.'
CIFormat = 'Auto'
}

TestDrive = @{
# Default $true
# Enable TestDrive.'
Enabled = $true
}

TestRegistry = @{
# Default $true
# Enable TestRegistry.'
Enabled = $true
}
}
Loading

0 comments on commit 8f6d799

Please sign in to comment.