Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


runtests works in matlab 2015b but not in 2013b using -'matlab,testing'


runtests works in matlab 2015b but not in 2013b  using -'matlab,testing'

I tryed the runtests function example at http://de.mathworks.com/help/matlab/ref/runtests.html
and in matlab 2015b everthing works perfectly. But in matlab 2013b I get the following error

>> runtests
Error using runtests (line 41)
Not enough input arguments.


And if I explizietly one of the m-files  

>> runtests('typeTest.m')


I get

Error using matlab.unittest.TestSuite.fromFile (line 94)
"C:\Users\u16h62\Documents\MATLAB\Example\typeTest.m" is not a valid test    file.
 Error in runtests>createSuite (line 60)
 suite = TestSuite.fromFile(file);
 Error in runtests>@(test)createSuite(test,parser.Results.Recursively) (line   41)
suites = cellfun(@(test)createSuite(test, parser.Results.Recursively), ...
Error in runtests (line 41)
suites = cellfun(@(test)createSuite(test, parser.Results.Recursively), ...


Can someone say me what I am doing wrong, please?
    

asked Sep 7, 2015 by rajesh
0 votes
14 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...