Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #64 (closed)

Opened 18 years ago

Closed 18 years ago

Separate unit and integration tests and add call to "deploy" before "integration"

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: 3.0-M2
Component: Deployment Version: 3.0-M1
Keywords: iteration2 Cc: sfrank, cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Currently some client tests will fail because the server has not been started
yet. These tests (matching /itests/*) need to be run later.

Note: also debate moving selection based on package ("itests") to a separate
directory:

 component/
   test/
     unit/
     integration/

"deploy" target also needs to setup the databases appropriately. (For example server/test/.../query/delete_pojos.sql
&& create_pojos.sql)

Originally : http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=667

Change History (1)

comment:1 Changed 18 years ago by jmoore

  • Cc callan added
  • Resolution set to fixed
  • Status changed from new to closed

Closed by r693.

  • Separated all test/testng.xml files into integration.testng.xml and unit.testng.xml versions. This makes running from Eclipse easier as well.
  • Labelled all integration tests with the integration group. The directory in which a test is found is no longer relevant. Will update Omero+Development shortly. (see also #137)
  • Flushed out integration target in lifecycle.xml
  • DB setup will be handled by #122
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65440 sec.)

We're Hiring!