Ticket #5531 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Load System test

Reported by: Nick Draper Owned by: Peter Peterson
Priority: blocker Milestone: Release 2.3
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description

Create a generic Load system test that will attempt to load all of the suitable files in a directory one at a time.

Important points:

  • Each workspace should be checked in the ADS after loading.
  • Any falures should identify the file, and Loader used (an output property of load) as well as any failure information.
  • A possible extension is to allow .expected files (matching the data file name) to include further facts for verification. I would suggest a simple fixed vocab:
    • Number of Spectra, bins, events, detectors, logs
    • Instrument name, workspace title

Change History

comment:1 Changed 8 years ago by Peter Peterson

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Peter Peterson

Refs #5531. First pass at the load testing. Still needs customization stuff.

Changeset: 87516233494f16043d8721fa056675a8cb014f29

comment:3 Changed 8 years ago by Peter Peterson

Refs #5531. Changed return of ExtractMask to check for MaskWorkspace.

Changeset: cc80654b97bf5632db52411b870bb62dcf8299c6

comment:4 Changed 8 years ago by Martyn Gigg

Fix LoadLotsOFFiles for managed workspaces. Refs #5531

Changeset: 04674830101319786bd71ca34fa4f77ceca6d697

comment:5 Changed 8 years ago by Peter Peterson

Refs #5531. Changed return of ExtractMask to check for MaskWorkspace.

Changeset: cc80654b97bf5632db52411b870bb62dcf8299c6

comment:6 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:7 Changed 8 years ago by Peter Peterson

Refs #5531. Adding file specific checks to LoadLotsOfFiles.

Create a file next to the data file with '.expected' appended to the end of the file name. The file will be executed line by line in python. Each line should evaluate to 'True' for it to pass.

Changeset: 8f1661a97ec20afa2bb2cac4a7e1075ec5f2c516

comment:8 Changed 8 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:9 Changed 8 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:10 Changed 8 years ago by Russell Taylor

Re #5531. Switch example to a file that's in the repository.

Changeset: 11744df97d93fd8798653ba439150f48f868cbcf

comment:11 Changed 8 years ago by Russell Taylor

Re #5531. Add an example for a Workspace2D.

Changeset: a0ae9ca1f6a047cde35ac48d0c116f0db305620b

comment:12 Changed 8 years ago by Russell Taylor

  • Status changed from verifying to closed

It's all good.

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6377

Note: See TracTickets for help on using tickets.