Skip to content

Store and analyze test results#143

Open
aldrichtr wants to merge 165 commits into
mainfrom
feat/process-test-result
Open

Store and analyze test results#143
aldrichtr wants to merge 165 commits into
mainfrom
feat/process-test-result

Conversation

@aldrichtr
Copy link
Copy Markdown
Owner

No description provided.

aldrichtr and others added 30 commits May 31, 2023 15:45
[Feature]: Set up the project structure
This source and tests is being imported from multiple old build projects

of mine that are being collapsed into one project
[Feature]: Import all tasks and functions
Add stitch build driver and configuration
Make the 'Name' field available in templates
Added installation instructions to the README
Fix endless loop when creating paths file and directory exists
aldrichtr and others added 22 commits January 18, 2024 19:08
The Directory field is not populated on SourceInfo objects
Use Find-SourceDirectory in Get-ModuleItem
Actions not using cache even though it is created
- the regex needs the '/' at the beginning and end (javascript regex
  literal)
- add 'g' so that regex continues after matches
- add 'm' so that regex is multiline and '^' and '$' as line anchors
Fix labeler regexen to use javascript syntax
Bumps [github/issue-labeler](https://github.com/github/issue-labeler) from 3.3 to 3.4.
- [Release notes](https://github.com/github/issue-labeler/releases)
- [Commits](github/issue-labeler@v3.3...v3.4)

---
updated-dependencies:
- dependency-name: github/issue-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…ub/issue-labeler-3.4

build(deps): bump github/issue-labeler from 3.3 to 3.4
- Changed verb from Find to Resolve
- added logic to only add directory if not added to output already
Fix multiple objects returned from functions
@aldrichtr aldrichtr self-assigned this May 17, 2024
@github-actions github-actions Bot added the flag.review A new issue or pr that needs review label May 17, 2024
$runId = New-Guid

$testRunDirectory = $environment.cwd
$user = (@($environment.'user-domain' , $environment.user) -join '\')

Check warning

Code scanning / PSScriptAnalyzer

The variable 'user' is assigned but never used. Warning

The variable 'user' is assigned but never used.

$testRunDirectory = $environment.cwd
$user = (@($environment.'user-domain' , $environment.user) -join '\')
$machine = $environment.'machine-name'

Check warning

Code scanning / PSScriptAnalyzer

The variable 'machine' is assigned but never used. Warning

The variable 'machine' is assigned but never used.
foreach ($fileNode in $fileNodes) {
$fullPath = $fileNode.name
$relativePath = [System.IO.Path]::GetRelativePath( $testRunDirectory, $fullPath)
$fileResult = $fileNode.result

Check warning

Code scanning / PSScriptAnalyzer

The variable 'fileResult' is assigned but never used. Warning

The variable 'fileResult' is assigned but never used.
<#------------------------------------------------------------------
All checks completed, we should have a usable object now
------------------------------------------------------------------#>
$files = $testResult.Containers

Check warning

Code scanning / PSScriptAnalyzer

The variable 'files' is assigned but never used. Warning

The variable 'files' is assigned but never used.
}
if ($null -ne $currentFile) {
if ($currentFile | Test-Path) {
$checkpoint = Checkpoint-File $currentFile

Check warning

Code scanning / PSScriptAnalyzer

The variable 'checkpoint' is assigned but never used. Warning

The variable 'checkpoint' is assigned but never used.
@@ -0,0 +1,42 @@

function New-TestDataDirectory {

Check warning

Code scanning / PSScriptAnalyzer

Function 'New-TestDataDirectory' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'New-TestDataDirectory' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag.review A new issue or pr that needs review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants