Hi All,
I am repairing the old set of JUnit tests in src/test/it.. I already
have made it work with Login, Project Group, My Account and Maven 2
Project tests with some modifications in the old scripts. I will submit
a patch for this issue (Continuum-2073) later. I ran it using the
instructions in the ReadMe file found in continuum-webapp-test module.
Thanks Wendy for the Cargo thing that made the test to run with just
"mvn clean install" without starting continuum manually.
Cheers,
Cora
Wendy Smoak wrote:
On Wed, Feb 18, 2009 at 8:39 PM, Wendy Smoak <[email protected]> wrote:
Success! Or, progress, at least. I think I just re-learned all the
lessons that the first person who did this went through. :)
More progress... the Cargo devs kindly fixed the problem I had with
the multiple data source support not working with the JNDI mail
session, so we can now configure the Cargo Maven plugin with
everything Continuum needs to start and run.
You can see the new config in continuum-webapp-test/pom.xml
That pom goes with the src/test/java/.../AboutTest.java class and
src/test/resources/it.properties. I hacked in some conditional code
in AboutTest to create the admin user and save the general
configuration, so at long last, 'mvn clean install' works again.
As for the tests themselves, we still have many options open, such as
- repairing the old set of JUnit tests in src/test/it
- writing new JUnit tests
- switching to TestNG (see patch on CONTINUUM-2073, but I need an
iCLA before adding these)
- using html format and converting to Java at build time before
running the tests
Any further thoughts (or volunteers!) on this?