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

Maddy

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Maddy View all
Updated File Comments Rating
20 Dec 2011 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

I am creating the following function:

function mytests
runtests('/opt/tests');
end

So now I build this function by running deploytool and I give the path for the additional libraries as /opt/tests and the path for the source files of functions I am testing in my tests. Then I run the generated executable from the unix command line which is outside the MATLAB environment. It gives me the same error.
If I call runtests('/opt/tests') on the MATLAB command line it works fine.

20 Dec 2011 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

I am creating the following function:

function mytests
runtests('/opt/tests');
end

So now I build this function by running deploytool and I give the path for the additional libraries as /opt/tests and the path for the source files of functions I am testing in my tests. Then I run the generated executable from the unix command line which is outside the MATLAB environment. It gives me the same error.
If I call runtests('/opt/tests') on the MATLAB command line it works fine.

20 Dec 2011 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

Hi Steve! I am trying to create a function that calls runtests.m with the specified directory name that contains my tests and then compile it. My problem is that when I try to run the executable of my function from unix command line it errors out saying that, "error in file: no test cases found."
How can I make it see my tests?
Thanks in advance!

Contact us