An arisdottle is :: and can be used when running prove
to execute Perl tests. The documentation for prove
states that:
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.
I'm interested in the origin of this term. It's hard to Google. I asked in #toolchain on irc.perl.org and I have yet to get a concrete answer. For historical reasons, I thought it would be helpful to document the term here.
I worked on Test::Harness and prove.
While I don't remember specifically, it is likely a portmanteau of "dot" and "Aristotle". Aristotle Pagaltzis is a Perl contributor, he contributed to Test::Harness, and is probably the person who came up with the idea. Aristotle is also credited with the Enterprise operator ( )x!!
.
Andy Armstrong wrote that doc line and would likely be able to confirm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With