Report test result - #361
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request enhances test reporting by integrating the DynamicExecutor.IReport interface from @nestia/e2e to capture and report test execution results. The changes ensure that test results are properly logged after completion using the TestAutomationStdio.report method.
- Added
DynamicExecutor.IReporttype annotation to capture test execution results - Integrated
TestAutomationStdio.report()calls to log execution reports after test completion - Updated imports to include
DynamicExecutorfrom@nestia/e2epackage
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test/index.ts | Added DynamicExecutor import and reporting mechanism for direct backend testing |
| test/webpack.ts | Added DynamicExecutor import and reporting mechanism for webpack-based testing |
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
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.
This pull request introduces changes to enhance test reporting by integrating the
DynamicExecutor.IReportinterface from@nestia/e2e. The updates ensure that test execution results are captured and reported using theTestAutomationStdio.reportmethod. The changes affect bothtest/index.tsandtest/webpack.ts.Enhancements to Test Reporting:
DynamicExecutor.IReport: UpdatedTestAutomation.executecalls in bothtest/index.tsandtest/webpack.tsto store the execution report in aDynamicExecutor.IReportvariable. [1] [2]TestAutomationStdio.report(report)call in both files to log the execution report after test completion. [1] [2]Dependency Updates:
DynamicExecutor: Added theDynamicExecutorimport from@nestia/e2ein bothtest/index.tsandtest/webpack.tsto support the new reporting functionality. [1] [2]