generated from PSModule/Template-Action
-
Notifications
You must be signed in to change notification settings - Fork 0
🚀 [Feature]: ReportAsJson to publish TestResults and CodeCoverage as JSON files
#31
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
Merged
Conversation
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
…ction and add Get-EmojiByKind function
…meter for module import validation
…nvertFrom-PesterConfiguration and enhance functionality to support output as hashtable
c7485e5 to
351bae7
Compare
…at and implement corresponding logic in main.ps1
… variable to the correct section in action.yml
…nfiguration check
… the output path in main.ps1
…orts to use dedicated directories
…nsion and improve output path handling for test results and code coverage
0f576dc to
5560ccf
Compare
…nd refactor Get-PesterTestTree for improved clarity and structure
…sults and code coverage in JSON format
…y and structure by simplifying variable usage and enhancing readability
…bility, enhancing object property handling and adding verbose logging
…export depth for test results
… ticks for improved precision in test result metrics
…r reduced file size
…ove performance and reduce output size
…maintain consistency in code coverage output
… improved precision in test result metrics and update JSON export depth for better output handling
…reduce output size
…ompression to improve performance and reduce output size
…e to simplify output handling
…for improved data handling
…as custom objects for improved data structure and maintain verbose logging
…d handle container settings as custom objects for better data structure
…settings, improving data handling and structure
…ogging for container settings
…paths in verbose logging
…s and code coverage exports
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
w## Description
This pull request updates configuration handling, output management, and test structure, including the addition of JSON report output, modifications to the
ConvertFrom-PesterConfigurationfilter, and updates to the test result and code coverage paths.TestResultsas a custom JSON output #29CodeCoverageas a custom JSON output #30Improvements to configuration and output management
README.md:ReportAsJsoninput to allow output of generated reports in JSON format.action.yml:ReportAsJsoninput and updated therunssection to use this input for environment variables.scripts/main.ps1:ReportAsJsonis enabled.Enhancements to configuration handling
scripts/Helpers.psm1:Convert-PesterConfigurationToHashtabletoConvertFrom-PesterConfigurationand added theAsHashtableparameter to improve configuration conversion.Updates to test structure and paths
scripts/init.ps1:tests/1-Simple/Emoji.Tests.ps1:Type of change
Checklist