On Feb 13, 2008, at 9:51 AM, Matisse Enzer wrote:
And of course, in the Java world, it is "Expected/Got" (JUnit wants
the expected value as the first argument to assertions.)
;-)
TestNG (testng.org) reversed the JUnit order, so Java unit test
assert arguments are now the same order as Test::More. TestNG still
has some raw spots, but it's a huge improvement on JUnit. It's
output looks like this:
return formatted + "expected:<" + expected + "> but was:<" +
actual + ">";
http://www.krugle.org/kse/files/svn/svn.code.google.com/testng/src/
main/org/testng/Assert.java#2
Chris