Skip to content

Overhaul test suite #1648

Closed
Closed
@berleant

Description

@berleant

I believe this is already agreed on, I'm just making the issue for the sake of completeness. The main thing is that nosetests is/will be no longer supported. We need to move to either pytest or unittest.

Some additional brainstorming:

  • shorten test runtime to reduce friction
  • refactor tempfile stuff, perhaps into a decorator
  • refactor the @skipif(no_pkg) statements
  • take out non-empty .nii files in testing
  • fewer empty .nii files
  • replace yield assert_* statements (not all testing tools handle iterators well, e.g. the mock module)
  • check code coverage weak areas, set goal?
  • remove warnings, print statements

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions