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 #11364 (closed)

Opened 11 years ago

Closed 8 years ago

python gateway test images

Reported by: cneves Owned by: cneves
Priority: major Milestone: Testing2
Component: OmeroPy Version: 4.4.8
Keywords: n.a. Cc: python-team@…, cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The python gateway unit and functional tests are being reworked, and this is a great chance to revisit the process of gathering test data, particularly images.

The current gateway process is to dynamically download the needed test images, and it currently uses 3 such images:

  • tinyTest.d3d.dv
  • CHOBI_d3d.dv
  • big.tiff

Images are being stored and downloaded from http://users.openmicroscopy.org.uk/~cneves-x/ and kept locally while testing to prevent having to download on every test run. This is far from ideal, of course.

One of the images, tinyTest, already exists in components/common/test, so it would maybe be possible to include the other two images there too.

big.tiff is a big image generated by melissa a long time ago as requested by me.

There is also the alternative of generating test images (which we already do for cases where the actual image doesn't matter) and adapting the tests to fit these.

Change History (9)

comment:1 Changed 11 years ago by cneves

This is obviously also relevant for the selenium tests. Are script generated images enough for all the GUI testing needs?

comment:2 Changed 11 years ago by jamoore

  • Cc python-team@… cblackburn added
  • Owner set to cneves

Is there any movement on this front or can/should we push this to milestone:Testing2?

comment:3 Changed 11 years ago by wmoore

I'm not working on this just now.
For now, the GUI tests will assume that images have been imported in setup. So far, no specific images are needed, but they will be needed for some metadata UI testing in due course.

comment:4 Changed 11 years ago by jamoore

  • Milestone changed from Testing and Docs to Testing2

comment:5 Changed 11 years ago by jburel

As part of the set-up under tests/ui, 3 images are imported. The images are including in the common-test.jar, extracted then imported. This is a tmp solution.

comment:6 Changed 11 years ago by jburel

Referencing ticket #11404 has changed sprint.

comment:7 Changed 8 years ago by jamoore

Referencing ticket #11404 has changed sprint.

comment:8 Changed 8 years ago by jamoore

Referencing ticket #11404 has changed sprint.

comment:9 Changed 8 years ago by sbesson

  • Resolution set to duplicate
  • Status changed from new to closed
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.67297 sec.)

We're Hiring!