[SOLVED] How to add automated testing to client application runned from acc
I want to add automated testing to my swing client, but I have some troubles. I'm using fest 1.2 framework for swing testing, but I don't know how to run my application from the code. I can run the main method, but I'm using dependency injection @EJB to call sessionbeans and these are not setted, when the client is runned from the test file.
My project is an enterprise application with a ejb module and a swing application client.
My env: java 1.6.24, netbeans 7, gf 3.1, windows 7