Skip a particular TestParameter in Parametrized testing
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Testing Frameworks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!