FB_CreateDisabledTest Function Block
Extends TcUnit.FB_TestSuite
This testsuite runs two tests. One that is enabled (and that is supposed to fail), and one that is disabled (and even though it also is failing is not supposed to run).
Methods
TestDisabled
PRIVATE
Implementation
TEST('DISABLED_ThisShouldNotExecute');
AssertEquals(Expected := a,
Actual := b,
Message := 'A does not equal B');
TEST_FINISHED();
TestEnabled
PRIVATE
Implementation
TEST('TestEnabled');
AssertEquals(Expected := a,
Actual := b,
Message := 'A does not equal B');
TEST_FINISHED();
Used by
Declaration source
(*
This testsuite runs two tests. One that is enabled (and that is supposed to fail), and one that is disabled (and
even though it also is failing is not supposed to run).
*)
FUNCTION_BLOCK FB_CreateDisabledTest EXTENDS TcUnit.FB_TestSuite