Skip a particular TestParameter in Parametrized testing
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Testing Frameworks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!