pynwb icon indicating copy to clipboard operation
pynwb copied to clipboard

Create integration tests for all types

Open ajtritt opened this issue 8 years ago • 1 comments

The following submodules need integration tests for their classes

  • [ ] pynwb.ecephys
  • [x] pynwb.icephys
  • [ ] pynwb.ophys
  • [ ] pynwb.ogen
  • [ ] pynwb.behavior
  • [ ] pynwb.image
  • [ ] pynwb.misc
  • [ ] pynwb.retinotopy

Integration tests are added by extending the class TestMapRoundTrip found in tests/integration/uiwrite/base.py. A subclass of TestMapRoundTrip should be created for all Container classes in the modules listed above. The subclass should implement the following methods test the following:

  • setUpBuilder() and setUpContainer to convert a builder representation into a container object, and vice versa
  • addContainer(nwbfile) and getContainer(nwbfile) to write a container to disk and read the same container back in

ajtritt avatar Sep 15 '17 06:09 ajtritt

These classes are missing roundtrip integration tests

Missing test for: <class 'pynwb.base.ProcessingModule'>
Missing test for: <class 'pynwb.base.Image'>
Missing test for: <class 'pynwb.base.ImageReferences'>
Missing test for: <class 'pynwb.base.TimeSeriesReferenceVectorData'>
Missing test for: <class 'pynwb.ecephys.SpikeEventSeries'>
Missing test for: <class 'pynwb.icephys.IntracellularElectrodesTable'>
Missing test for: <class 'pynwb.icephys.IntracellularStimuliTable'>
Missing test for: <class 'pynwb.icephys.IntracellularResponsesTable'>
Missing test for: <class 'pynwb.icephys.IntracellularRecordingsTable'>
Missing test for: <class 'pynwb.icephys.SimultaneousRecordingsTable'>
Missing test for: <class 'pynwb.icephys.SequentialRecordingsTable'>
Missing test for: <class 'pynwb.icephys.RepetitionsTable'>
Missing test for: <class 'pynwb.icephys.ExperimentalConditionsTable'>
Missing test for: <class 'pynwb.image.IndexSeries'>
Missing test for: <class 'pynwb.image.ImageMaskSeries'>
Missing test for: <class 'pynwb.image.GrayscaleImage'>
Missing test for: <class 'pynwb.image.RGBImage'>
Missing test for: <class 'pynwb.image.RGBAImage'>
Missing test for: <class 'pynwb.ophys.OpticalChannel'>
Missing test for: <class 'pynwb.ophys.ImageSegmentation'>
Missing test for: <class 'pynwb.ophys.DfOverF'>
Missing test for: <class 'pynwb.ophys.Fluorescence'>
Missing test for: <class 'pynwb.misc.AnnotationSeries'>
Missing test for: <class 'pynwb.misc.AbstractFeatureSeries'>
Missing test for: <class 'pynwb.misc.IntervalSeries'>
Missing test for: <class 'pynwb.file.LabMetaData'>
Missing test for: <class 'pynwb.behavior.SpatialSeries'>
Missing test for: <class 'pynwb.behavior.BehavioralEpochs'>
Missing test for: <class 'pynwb.behavior.BehavioralEvents'>
Missing test for: <class 'pynwb.behavior.BehavioralTimeSeries'>
Missing test for: <class 'pynwb.behavior.PupilTracking'>
Missing test for: <class 'pynwb.behavior.EyeTracking'>
Missing test for: <class 'pynwb.behavior.CompassDirection'>
Missing test for: <class 'pynwb.behavior.Position'>

stephprince avatar Apr 16 '24 20:04 stephprince