You're right. The problem is, that the testfiles are the part, that has to be in the webapp AND executed on the build machine.
Dirk On Tue, 26 Oct 2010 14:35:45 +0200, Antonio Petrelli <[email protected]> wrote: > 2010/10/26 Dirk Reske <[email protected]>: >> Yes, I understand this. >> But the JSFUnit tests are triggered from outside via the different >> jsfunit servlets/filters (so they have to be deployed with the >> application). >> >> If I put the test sources in the ear module, they aren't deployed with >> the application (where should the classes go to? An ear file does not >> have a location for compiled class files). > > I took a look at JSFUnit: > http://labs.jboss.com/jsfunit/gettingstarted.html > If I understand it correctly, a part must be deployed with the webapp, > another part is executed on the build machine. > So you can prepare a profile for integration testing on your war > project (including all the libraries and configuration files) and > execute tests in the ear project (as you are already doing it), maybe > triggered by the same profile specified before. > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
