Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the value that will determine whether the upgrade test will be performed.
Syntax
server public static boolean parmUnitTest([boolean _testOn])
Run On
Server
Parameters
- _testOn
Type: boolean
A Boolean value that indicates whether to turn on the unit test.
Return Value
Type: boolean
true if the value that determines whether the upgrade test will be performed is true; otherwise, false.
Remarks
It is difficult to write a unit test for some upgrade classes. This value is a test hook to give us a way to skip or add some code when we are running a unit test or doing some testing locally.