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

Update MATLAB xunit test framework #312

Open
oerc0122 opened this issue Feb 25, 2021 · 1 comment
Open

Update MATLAB xunit test framework #312

oerc0122 opened this issue Feb 25, 2021 · 1 comment
Labels
tech-debt Testing Related to testing

Comments

@oerc0122
Copy link
Collaborator

Herbert's copy of the test framework is currently well behind the new one which has some nice features we may want to use.

Updating the framework may be complicated by the inclusion of skipTest, TestCaseWithSave, assert*WithSave, etc.

These are extensions to the standard xunit.

@oerc0122 oerc0122 added Testing Related to testing tech-debt labels Feb 25, 2021
@ghost
Copy link

ghost commented Feb 25, 2021

Is the purpose of this issue to update the xUnit framework we're using? Or move to the inbuilt Matlab framework? For me, the ideal would be the latter, but is also obviously more work as it's a change in syntax for all tests.

Edit:

  • Updating the xUnit framework would give us XML reports which would be very useful for Improve test reporting in ANVIL Horace#527 and would (hopefully) allow us to keep our TestCaseWithSave extensions.
  • The Matlab built-in framework provides many more features: XML reports, mocking, coverage reports, parameterized tests, running tests in parallel, performance tests etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Testing Related to testing
Projects
None yet
Development

No branches or pull requests

1 participant