TestEvaluationFunction
is an option to TestReport that specifies which function to use when evaluating tests.
Examples
open allclose allBasic Examples (1)
By default, TestReport evaluates tests using TestEvaluate:
Use Identity as TestEvaluationFunction to skip all tests in the TestReport:
Applications (3)
Print all tests in the notebook without evaluating them:
Print all tests in the notebook before evaluation and evaluate them:
Use Throw and Catch to stop the test suite when a test fails:
Store in MetaInformation a "Skip" property that defines if a test needs to run:
Text
Wolfram Research (2023), TestEvaluationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/TestEvaluationFunction.html.
CMS
Wolfram Language. 2023. "TestEvaluationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TestEvaluationFunction.html.
APA
Wolfram Language. (2023). TestEvaluationFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TestEvaluationFunction.html