is an option to TestReport that specifies which function to use when evaluating tests.
TestEvaluationFunction
is an option to TestReport that specifies which function to use when evaluating tests.
Details
- The default value for TestEvaluationFunction is TestEvaluate .
Examples
open all close 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:
See Also
Tech Notes
Related Guides
History
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
BibTeX
@misc{reference.wolfram_2025_testevaluationfunction, author="Wolfram Research", title="{TestEvaluationFunction}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/TestEvaluationFunction.html}", note=[Accessed: 05-December-2025]}
BibLaTeX
@online{reference.wolfram_2025_testevaluationfunction, organization={Wolfram Research}, title={TestEvaluationFunction}, year={2023}, url={https://reference.wolfram.com/language/ref/TestEvaluationFunction.html}, note=[Accessed: 05-December-2025]}