-
Notifications
You must be signed in to change notification settings - Fork 0
π[Feature]: Add support for running setup and teardown scripts during tests with integrated matrix processing #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0aa2dfc
Initial plan
Copilot 4d3f4ff
Add BeforeAll and AfterAll job support for Test-ModuleLocal workflows
Copilot 9eeb8c7
Add additional test BeforeAll/AfterAll scripts for comprehensive testing
Copilot 2a30035
Add documentation for BeforeAll/AfterAll setup and teardown scripts
Copilot 2027a0b
Rework BeforeAll/AfterAll to use PowerShell-based steps
Copilot 92d0958
Update documentation for PowerShell-based BeforeAll/AfterAll implemenβ¦
Copilot fdfea9e
Merge branch 'main' into copilot/fix-169
MariusStorhaug 7b69fe7
Implement separate BeforeAll/AfterAll jobs with conditional execution
Copilot 87ac2eb
Update documentation to reflect separate BeforeAll/AfterAll job archiβ¦
Copilot f6fef54
Move BeforeAll/AfterAll jobs into Test-ModuleLocal workflow and removβ¦
Copilot 3e25e4c
Move matrix strategy into Test-ModuleLocal workflow and update callinβ¦
Copilot 0ffc613
feat: Add PowerShell scripts for setup and agent context management
MariusStorhaug c9151a8
feat: Update constitution and implementation plan with expanded guidaβ¦
MariusStorhaug 849ff31
chore: Update constitution version reference in plan template to v1.1.2
MariusStorhaug bfee666
chore: Update plan template to reference Constitution v1.3.0
MariusStorhaug e5077eb
feat: Update constitution to reflect new repository structure and autβ¦
MariusStorhaug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| Write-Host "=== AFTERALL TEARDOWN SCRIPT EXECUTING ===" | ||
| Write-Host "Tearing down test environment..." | ||
|
|
||
| # Example teardown tasks: | ||
| # - Clean up test infrastructure | ||
| # - Remove test data | ||
| # - Cleanup test environment | ||
| # - Drop test databases | ||
| # - Stop test services | ||
|
|
||
| Write-Host "Test environment teardown completed successfully!" | ||
| Write-Host "=== AFTERALL TEARDOWN SCRIPT COMPLETED ===" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| Write-Host "=== BEFOREALL SETUP SCRIPT EXECUTING ===" | ||
| Write-Host "Setting up test environment..." | ||
|
|
||
| # Example setup tasks: | ||
| # - Deploy test infrastructure | ||
| # - Download test data | ||
| # - Initialize test environment | ||
| # - Set up test databases | ||
| # - Configure test services | ||
|
|
||
| Write-Host "Test environment setup completed successfully!" | ||
| Write-Host "=== BEFOREALL SETUP SCRIPT COMPLETED ===" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| Write-Host "=== AFTERALL TEARDOWN SCRIPT (MyTests) EXECUTING ===" | ||
| Write-Host "Tearing down test environment for MyTests..." | ||
|
|
||
| # Example teardown tasks for MyTests directory: | ||
| Write-Host "Cleaning up MyTests test environment..." | ||
|
|
||
| Write-Host "MyTests environment teardown completed successfully!" | ||
| Write-Host "=== AFTERALL TEARDOWN SCRIPT (MyTests) COMPLETED ===" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| Write-Host "=== BEFOREALL SETUP SCRIPT (MyTests) EXECUTING ===" | ||
| Write-Host "Setting up test environment for MyTests..." | ||
|
|
||
| # Example setup tasks for MyTests directory: | ||
| Write-Host "Initializing MyTests test environment..." | ||
|
|
||
| Write-Host "MyTests environment setup completed successfully!" | ||
| Write-Host "=== BEFOREALL SETUP SCRIPT (MyTests) COMPLETED ===" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.