TestEvaluationFunction
✖
TestEvaluationFunction
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
By default, TestReport evaluates tests using TestEvaluate:

https://wolfram.com/xid/0fq5k0naz00nm-brp3na

Use Identity as TestEvaluationFunction to skip all tests in the TestReport:

https://wolfram.com/xid/0fq5k0naz00nm-vnzkyp

Applications (3)Sample problems that can be solved with this function
Print all tests in the notebook without evaluating them:

https://wolfram.com/xid/0fq5k0naz00nm-6l2cff


Print all tests in the notebook before evaluation and evaluate them:

https://wolfram.com/xid/0fq5k0naz00nm-nwk0n9


Use Throw and Catch to stop the test suite when a test fails:

https://wolfram.com/xid/0fq5k0naz00nm-edp8nq

Store in MetaInformation a "Skip" property that defines if a test needs to run:

https://wolfram.com/xid/0fq5k0naz00nm-kq0n65


https://wolfram.com/xid/0fq5k0naz00nm-ka02wt

Wolfram Research (2023), TestEvaluationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/TestEvaluationFunction.html.
Text
Wolfram Research (2023), TestEvaluationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/TestEvaluationFunction.html.
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.
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
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: 23-April-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: 23-April-2025
]}