$TestFileName

$TestFileName

给出当前执行的测试文件的绝对文件名.

更多信息

范例

基本范例  (3)

在交互式输入中,$TestFileName"":

当执行时,该测试文件输出 $TestFileName

TestReport 执行测试文件:

在完成 TestReport 之后,$TestFileName 又是 ""

打开范例测试笔记本:

在笔记本上运行测试报告:

获取测试了 $TestFileName 的测试:

显示输入,期待的输出和测试结果的实际输出:

Wolfram Research (2019),$TestFileName,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$TestFileName.html.

文本

Wolfram Research (2019),$TestFileName,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$TestFileName.html.

CMS

Wolfram 语言. 2019. "$TestFileName." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/$TestFileName.html.

APA

Wolfram 语言. (2019). $TestFileName. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/$TestFileName.html 年

BibTeX

@misc{reference.wolfram_2024_$testfilename, author="Wolfram Research", title="{$TestFileName}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/$TestFileName.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$testfilename, organization={Wolfram Research}, title={$TestFileName}, year={2019}, url={https://reference.wolfram.com/language/ref/$TestFileName.html}, note=[Accessed: 22-November-2024 ]}