On 9/1/06, Kees de Kooter <[EMAIL PROTECTED]> wrote:
> Anyone have any suggestions on how to unit testing?
> I am looking for a way to quickly test my binding definitions using
> "Binding on Load"
>
> thanks,
> Kees
>

One way to do this is creating test classes with a main method, but
that way you are not able to leverage unit testing frameworks.

So binding on load is not an option. I came up with the following solution.

In eclipse I added an Ant builder to the project. Every time a JiBX
bound class is saved the builder runs and post processes the class
file.

Now the JiBX compiled classes are available for unit testing using
standard unit test frameworks.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to