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

Write results using the Test Anything Protocol #19

Open
benjamin-heasly opened this issue Jan 26, 2017 · 0 comments
Open

Write results using the Test Anything Protocol #19

benjamin-heasly opened this issue Jan 26, 2017 · 0 comments

Comments

@benjamin-heasly
Copy link
Contributor

benjamin-heasly commented Jan 26, 2017

This is a suggested enhancement that might be nice some day.

In addition to the informative validation results that are printed to the Matlab Command Window, it might be useful to write a results file using the Test Anything Protocol aka TAP. This would facilitate integration of the UnitTestToolbox with other testing tools that can read and display TAP results.

For example, Jenkins can read TAP results and display them nicely in a browser. Here's an example of what it looks like.

One option would be simply to add code to UnitTestToolbox that writes results in the TAP format.

Another option would be to get Matlab to generate the TAP output for us. Matlab will do this as part of its own testing framework. Here is an blog post about generating TAP results from a Matlab tests runner. Here is a testing utility from the ToolboxToolbox, based on the same blog post.

Although the second option would take care of writing the TAP output, it would require us to use Matlab's testing framework as the entry-point for testing, rather than the usual UnitTestToolbox functions. This might be a big, invasive change to make.

@benjamin-heasly benjamin-heasly changed the title Write results formatted like the Test Anything Protocol Write results using the Test Anything Protocol Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant