一个arisdottle是::并且可以在运行prove以执行 Perl 测试时使用。的文档prove指出:
It is possible to supply arguments to tests. To do so separate them from
prove's own arguments with the arisdottle, '::'. For example
prove -v t/mytest.t :: --url http://example.com
would run t/mytest.t with the options '--url http://example.com'. When
running multiple tests they will each receive the same arguments.
Run Code Online (Sandbox Code Playgroud)
我对这个词的起源很感兴趣。谷歌很难。我在 irc.perl.org 上的 #toolchain 中提出了问题,但我还没有得到具体的答案。由于历史原因,我认为在此处记录该术语会有所帮助。
我致力于测试::利用和证明。
虽然我不记得具体了,但它可能是“点”和“亚里士多德”的合成词。Aristotle Pagaltzis是一位 Perl 贡献者,他为 Test::Harness 做出了贡献,并且可能是提出这个想法的人。亚里士多德也被认为是企业经营者( )x!!。
安迪·阿姆斯特朗 (Andy Armstrong) 写了该文档,并且很可能能够确认。
| 归档时间: |
|
| 查看次数: |
216 次 |
| 最近记录: |