Creates the execution cache for the the currently executed test function.

# S4 method for RTestCase
execCache(object, tf.pkg, tf.pkg.i, tf.func,
  tf.func.i)

Arguments

object

(object) The RTestCase-class object

tf.pkg

(character) The package name of the currently executed test function.

tf.pkg.i

(integer) The package iteration number of the currently executed test function.

tf.func

(character) The function name of the currently executed test function.

tf.func.i

(character) The function iteration number of the currently executed test function.

Value

(list)

Details

The execution cache includes all cached results of test functions that are part of the same package iteration and were executed prior to the current test function. The cached results will be stored in as a list() object with the following format:
XML: execCache:
<pkg_01>
<func_01> ... </func_01> $funct_01
<func_01> ... </func_01> $funct_01[[1]] -> result
<func_01> ... </func_01> $funct_01[[2]] -> result
<func_02> ... </func_02> <- current tf -> $funct_02 -> result
<func_03> ... </func_03> --- not included ---
</pkg_01>

See also

RTestCase-class