Rank: 56746 based on 0 downloads (last 30 days) and 0 file submitted
photo

Stefan

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Stefan View all
Updated File Comments Rating
24 Aug 2012 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

Steve,

is there a way to let 'runtests' iterate over test subdirectories automatically ?
Thanks,

06 Jul 2012 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

Steve,

oh, I see ! I thought these functions were actually nested, and my adding the "end" markers would only affect syntac, not semantics.
Now I understand that I actually misunderstood how things work, so I acceidentally changed the semantics.

All is working fine now. Thanks for your prompt help !

06 Jul 2012 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

Steve,

I have just discovered this unit testing framework. Thanks for sharing this !

I'm trying to write a simple test suite, with multiple nested test functions in a single .m file. The MATLAB docs suggest that all nested functions need to terminate with "end".

Modifying your "testFliplr.m" file to insert these "end" keywords makes runtests no longer recognize and run the tests from this file.
Am I missing something, or is this a bug in the harness' test parser ?
I'm using MATLAB R2012a.

Thanks,
Stefan

Contact us