Skip a particular TestParameter in Parametrized testing
Show older comments
Hello Everyone , I am new to testing and would like to know if I can skip a particular testparameter in a Parametrized Testing.
here is what i was trying to acheive
classdef myClassA < matla.unittest.TestCase
properties(ClassSetupParameter)
A={1,212,0,21,4}
end
methods(TestClassSetup)
function setup(testCase,A)
% Rest of the code %
end
end
methods (Test)
% My Testing part
end
end
%%%Whenever the A value is 0 , It should skip the test .. I mean It should not even enter the methods(Test) part
Accepted Answer
More Answers (0)
Categories
Find more on Testing Frameworks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!