-
Notifications
You must be signed in to change notification settings - Fork 18
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
Added support for multiple logging outputs (console, file, xml) #18
base: main
Are you sure you want to change the base?
Conversation
# Resolved Conflicts: # src/XMLTestRunLogger.m # src/runxunit.m
- function filename = getResultFileName(self) added else clause to return full xml filename
…th should be absolute
@@ -0,0 +1,23 @@ | |||
function narginchk(minargs, maxargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been in MATLAB since R2011b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, we have a production project stuck on R2010b however, YMMV.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that this will shadow the "proper" builtin version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah true, suggest just block this file from merge to your branch - and just take the other parts.
- The file/function signature is compatible
Merged in multiple logging support from adambard commits 86fb63f, cd9a9a3
Fixed to work with psexton branch.
Example usage:
Output test results to console, text log file and JUnit XML file:
runxunit -verbose -logfile testreport.txt -xmlfile testreport.xml tests
Output multiple JUnit XML files (one per TestSuite):
runxunit -verbose -logfile testreport.txt -xmlfile C:\tools\matlab\matlab-xunit\testreport\ tests