Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created August 31, 2010 17:35
Show Gist options
  • Save ingydotnet/559404 to your computer and use it in GitHub Desktop.
Save ingydotnet/559404 to your computer and use it in GitHub Desktop.
TestML - Write Once, Test Everywhere
When you write "Acmeist"<http://acmeism.org/> software you need to make sure
it passes the same tests in many different programming languages. When you
write modules that you want to publish in Perl 5 and Perl 6, the same truth
applies.
"TestML"<http://testml.org/> is a new Unit Testing language that runs the same
tests in Perl 5, Perl 6, Python, Ruby, JavaScript and many other modern
programming languages. It makes writing tests so nice and simple, that you
will probably want to use it even if you don't program in more than one
language. In this talk, "Ingy döt Net"<http://ingy.net/> will show you how to
write and run tests in TestML using both Perl 5 and Perl 6. He will show you
real world usage in acmeist projects like "YAML"<http://yaml.org/>,
"JSYNC"<http://jsync.org/> and TestML itself.
If you've already looked at TestML in the past, you'll really want to see this
talk. TestML has evolved into a full functional language, with many new
capabilities. If you use "Test::Base"<http://search.cpan.org/dist/Test-Base/>
in Perl 5, come see how easy it is to switch to
"TestML.pm"<http://search.cpan.org/dist/TestML/>, and get all the benefits for
free!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment