<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hi all, <br>
<br>
During the past couple months, I've ended up creating a
"persistence" test framework in order to do 2 things: <br>
1. be able to run tests on other db's (oracle, db2, postgresql) <br>
2. test the backwards/forwards compatibility of the data jBPM/Drools
writes to the database <br>
<br>
All of this code has now been moved to the drools-persistence-jpa
jar, in the org.drools.persistence.util and
org.drools.marshalling.util packages. It's been moved there so that
I can include the test-jar in places where adding the
jbpm-persistence-jpa dependency would cause a problem, and also
because I end up using it in drools tests as well (DRY.. ). <br>
<br>
But I can very easily imagine that people setting up tests just want
to set the test up, and not also deal with some complicated "hobby"
util that someone else wrote, so to speak. On the other hand, in the
course of testing and solving database and marshalling bugs, I end
up converting lots of tests to use the framework so that I can do 1.
and 2. (above). <br>
<br>
To that end: <br>
<br>
- If you have any tips, wishes or ideas about how <i>you</i> would
like a persistence test util to work, please share them!<br>
<br>
<br>
The more tests that use both, the easier it is for me (us?) to catch
bugs and fix them. <br>
<br>
<br>
Thanks!<br>
Marco<br>
<pre class="moz-signature" cols="72">--
jBPM/Drools developer
Utrecht, the Netherlands</pre>
</body>
</html>