• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #64 (closed task: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: jmoore Owned by: jmoore
Priority: minor Milestone: 3.0-M2
Component: Deployment Version: 3.0-M1
Keywords: iteration2 Cc: sfrank, callan

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

Changed 2 years ago by jmoore

  • cc callan added
  • status changed from new to closed
  • resolution set to fixed

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.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/