NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #3 (closed feature: fixed)

Opened 2010-02-15T13:20:04-06:00

Last modified 2012-02-24T13:21:20-06:00

Write unit tests for ImageJ1 core classes

Reported by: curtis Owned by: bdezonia
Priority: critical Milestone: progress-report
Component: Testing Version:
Severity: non-issue Keywords:
Cc: Blocked By: #107, #108, #109, #110, #111, #112, #113, #114, #115, #134, #137, #205
Blocking:

Description

We will write unit tests for the core ImageJ class hierarchy, according to our priority list.

Our goal is to run these automated tests nightly or on every commit as part of a continuous integration system. These tests will help ensure we maintain maximal backward compatibility as ImageJ evolves.

Change History

comment:1 Changed 2010-02-19T16:09:39-06:00 by curtis

From Aivar:

The  Emma code coverage tool is good for looking at unit test coverage, not quite as good for figuring out what ImageJ classes get used by various plugins.

There is an  Eclipse plugin that uses Emma. Installing the plugin gives you a new way to launch programs and a new Eclipse view called  Coverage.

You could launch ImageJ, run a selection of plugins, then see what packages and classes have 0% coverage in the Coverage view. You can also  import and export sessions, so you could run outside of Eclipse and import sessions to analyze.

Emma shows you  color coded coverage in the source file editor after a run. This is great for analyzing unit test coverage.

comment:2 Changed 2010-10-26T09:51:06-05:00 by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 2012-02-23T12:30:18-06:00 by curtis

  • Type changed from task to feature

comment:4 Changed 2012-02-24T13:21:20-06:00 by curtis

  • Blocked By 107, 108, 109, 110, 111, 112, 113, 114, 115, 134, 137, 205, 598, 814 added
  • Summary changed from Write unit tests for ImageJ core classes to Write unit tests for ImageJ1 core classes

comment:5 Changed 2012-03-05T14:31:40-06:00 by curtis

  • Blocked By 598 removed

comment:6 Changed 2012-03-05T14:32:16-06:00 by curtis

  • Blocked By 814 removed