TestID

TestID

is an option to TestCreate, VerificationTest and IntermediateTest that specifies a string used as an identifier for the test.

Details

  • A TestID can be any expression, but is typically a unique string.
  • TestIDAutomatic creates a unique ID by doing a hash of the test expression.

Examples

Basic Examples  (5)

Assign a TestID:

Create a test:

Use "TestID" to extract the original value of the option:

A TestID can be any expression:

By default, the TestID will be a Hash of the test:

The TestID will change if the input of the TestCreate expression is different:

Use CreateUUID to create random identifiers every time:

Wolfram Research (2014), TestID, Wolfram Language function, https://reference.wolfram.com/language/ref/TestID.html.

Text

Wolfram Research (2014), TestID, Wolfram Language function, https://reference.wolfram.com/language/ref/TestID.html.

CMS

Wolfram Language. 2014. "TestID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TestID.html.

APA

Wolfram Language. (2014). TestID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TestID.html

BibTeX

@misc{reference.wolfram_2024_testid, author="Wolfram Research", title="{TestID}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/TestID.html}", note=[Accessed: 27-May-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_testid, organization={Wolfram Research}, title={TestID}, year={2014}, url={https://reference.wolfram.com/language/ref/TestID.html}, note=[Accessed: 27-May-2024 ]}