Thank you, Knut. I will try it later! Junjie
2008/7/4 Knut Anders Hatlen <[EMAIL PROTECTED]>: > Junjie Peng <[EMAIL PROTECTED]> writes: > > > Hi, friends! In > > "org.apache.derbyTesting.functionTests.tests.lang.arithmetic.sql", there > are > > a lot of "select" sentence. In converting to junit, a lot of > > > JDBC.assertFullResultSet(rs, expectedRows) will be called. It's boring to > > generate so many ResultSets and compare them. Do we have some smart way > to > > resolve this problem? > > Hi Junjie, > > I haven't tried it myself, but I've seen there is a tool that helps > converting SQL tests to JUnit tests. Check out the class > org.apache.derbyTesting.functionTests.util.SQLToJUnit. > > -- > Knut Anders >
