-
Notifications
You must be signed in to change notification settings - Fork 14
Add support for test results summary and logs grouping via common-utils #70
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
Merged
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
c65784c
Add test results data viz
mw-kapilg b1b3d32
update imports
mw-kapilg 5494434
print total tests count
mw-kapilg 824d0ea
update yml
mw-kapilg 0c02d1e
check workspace
mw-kapilg 3edc95d
fix join
mw-kapilg 57c89c2
update pluginPath
mw-kapilg a8a74e2
move resources
mw-kapilg cd76bb4
add copy dir command
mw-kapilg 60641a0
remove test file
mw-kapilg cea78e6
rename resource
mw-kapilg 49e97fc
update namespace
mw-kapilg 1f7e10f
update counts to stats
mw-kapilg fab87bb
fix error
mw-kapilg 1f15178
move failed tests section above all tests
mw-kapilg 1ae1bfc
introduce test failure
mw-kapilg 4ba0f44
update failed tests view
mw-kapilg 82f871c
add title and preserve MATLAB formatting
mw-kapilg a413836
add more tests and update view
mw-kapilg 5b575c2
try nested table
mw-kapilg d6d9106
unify sections
mw-kapilg 8bf52cc
format diagnostics
mw-kapilg a785b2a
format table
mw-kapilg c6ebf80
format function calls
mw-kapilg 6bebf1d
update testcase
mw-kapilg e389346
more formattinhg
mw-kapilg fc3675b
update join separator
mw-kapilg db06047
update all join separators
mw-kapilg 0738bc4
add sub-heading
mw-kapilg f24d519
introduce test failure
mw-kapilg bdb3d50
remove diagnostics formatting
mw-kapilg 19fcb17
add formatting for double \n
mw-kapilg e15aa46
add whitespace
mw-kapilg e402790
debug
mw-kapilg e14c1e8
debug
mw-kapilg 821cb5e
debug
mw-kapilg cfc99c9
debug
mw-kapilg ae65450
double \n formatting
mw-kapilg 34242c0
debug
mw-kapilg 9b81017
debug
mw-kapilg 9c9c939
debug
mw-kapilg 252ead3
debug
mw-kapilg f7804a6
debug
mw-kapilg 126f970
debug
mw-kapilg b2da600
debug
mw-kapilg a5d8879
debug
mw-kapilg fa99631
debug
mw-kapilg 3015c86
update diagnostics condition
mw-kapilg dd37154
update file path
mw-kapilg f68026d
update display path
mw-kapilg 1e4bd63
add action name
mw-kapilg 56aaf64
update workspace
mw-kapilg 3068d2e
refactor
mw-kapilg c7abd6b
verify multiple test runs in same action
mw-kapilg 9efca69
add grouping
mw-kapilg 712cd93
add test class grouping
mw-kapilg 20d8caf
update test class grouping
mw-kapilg 7735ea7
update test class grouping
mw-kapilg 2682c53
remove test case grouping
mw-kapilg b39d2c9
remove old grouping
mw-kapilg a2bde78
add tests
mw-kapilg 0781a4e
add multi-platform testting
mw-kapilg 0030d91
debug
mw-kapilg a74e69d
update test setup
mw-kapilg 6edaa6e
remove extra files and add more MATLAB tests
mw-kapilg 01cee5f
update os check
mw-kapilg a40dfd1
add continue-on-error
mw-kapilg b4a9df5
update assumption failure
mw-kapilg f7f6a8c
format code and add more tests
mw-kapilg f7f0650
update os info
mw-kapilg 697994b
fix merge conflict
mw-kapilg 58550a6
update package
mw-kapilg 7c10b22
move fatalAssertion failure to a new file so it runs at the end
mw-kapilg 0d63cbd
fix codescan issue and add help icon
mw-kapilg e5e8998
fix test
mw-kapilg bcd0513
fix typo
mw-kapilg 7e4c242
remove fatal assertion as it cause other test scripts to not run
mw-kapilg 5947a9e
update genscript url temporarily for dev
mw-kapilg fe98514
move test summary and log grouping to common-utils
mw-kapilg dfca60d
resolve merge conflicts
mw-kapilg 7545e5d
check if node_modules is present
mw-kapilg cc6bc1a
reorder steps in npm ci command
mw-kapilg 8105fed
update common-utils repo
mw-kapilg f299b18
update bat.yml
mw-kapilg fd05f9a
use matlab module from common-utils
mw-kapilg 19617c3
update view generation preferences
mw-kapilg 6de7664
update bat.yml
mw-kapilg b35c765
add tests log grouping
mw-kapilg ed72862
commit untracked plugin files
mw-kapilg 9ce10bb
update as per common-utils update
mw-kapilg abaea47
revert plugins path logic
mw-kapilg 082b794
update plugins path and add execOptions
mw-kapilg 7577f74
fix test failure
mw-kapilg 7e93b4d
use common-utils v1.0.0
mw-kapilg 8c3bff4
fix package-lock.json
mw-kapilg 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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
9 changes: 9 additions & 0 deletions
9
plugins/+matlab/+unittest/+internal/+services/+plugins/GitHubLogTestPluginService.m
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,9 @@ | ||
| classdef GitHubLogTestPluginService < matlab.buildtool.internal.services.ciplugins.CITestRunnerPluginService | ||
| % Copyright 2025 The MathWorks, Inc. | ||
|
|
||
| methods | ||
| function plugins = providePlugins(~, ~) | ||
| plugins = testframework.GitHubLogTestPlugin(); | ||
| end | ||
| end | ||
| end |
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,16 @@ | ||
| classdef GitHubLogTestPlugin < matlab.unittest.plugins.TestRunnerPlugin | ||
| % Copyright 2025 The MathWorks, Inc. | ||
|
|
||
| methods (Access=protected) | ||
| function runTestClass(plugin, pluginData) | ||
| % Add GitHub workflow command for starting a test class output group | ||
| disp("::group::" + pluginData.Name); | ||
|
|
||
| % Invoke the superclass method | ||
| runTestClass@matlab.unittest.plugins.TestRunnerPlugin(plugin, pluginData); | ||
|
|
||
| % End the test class output group | ||
| disp("::endgroup::"); | ||
| end | ||
| end | ||
| end | ||
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,7 @@ | ||
| classdef tAssumptionFailure < matlab.unittest.TestCase | ||
| methods (Test) | ||
| function testAssumptionFailure(testCase) | ||
| testCase.assumeEqual(1+1, 11); | ||
| end | ||
| end | ||
| end |
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
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
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.