Ticket #15 (closed task: fixed)

Opened 3 months ago

Last modified 2 months ago

Write unit tests for the `datastore` module

Reported by: apdavison Assigned to:
Priority: major Milestone: 0.1
Component: datastore Version: trunk
Keywords: unit tests Cc:

Description

The target is to achieve >90% code coverage (measured using coverage.py)

Change History

11/13/08 11:18:57 changed by apdavison

  • status changed from new to closed.
  • resolution set to fixed.

Done. See r329. (Although not all the edge cases have been tested.)

Name                                       Stmts   Exec  Cover
--------------------------------------------------------------------------------
/NeuroTools/datastore/__init__                 4      4   100%
NeuroTools/datastore/django_orm/__init__      39     38    97%
NeuroTools/datastore/django_orm/models        42     41    97%
NeuroTools/datastore/interface                 5      0     0%
NeuroTools/datastore/keygenerators            15     15   100%
NeuroTools/datastore/shelve_ds                34     32    94%