Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

blueacorn
Copy link

@blueacorn blueacorn commented Jun 1, 2016

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

@@ -0,0 +1,23 @@
function narginchk(minargs, maxargs)
Copy link
Collaborator

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

Copy link
Author

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.

Copy link
Collaborator

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

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants