• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #30 (closed story: fixed)

Opened 3 years ago

Last modified 3 years ago

Developers want to mark tests as @Ignored

Reported by: jmoore Owned by: jmoore
Priority: minor Milestone: 3.0-M2
Component: Deployment Version: 3.0-M1
Keywords: iteration1 Cc:

Description

Currently there's no way to ignore a test other than changing the class or method names (cf. JUnit 3.8) Though this is annoying, the real problem is that one can forget to change it back. With the likes of JUnit4 and Testng one can add an @Ignore annotation to the class(?)/method and a warning will be output on testing.

This will require Java5 for testing even non-Java5 components.

Change History

Changed 3 years ago by jmoore

We had planned to use JUnit4 but apparenty it doesn't currently work with Ant (See http://www.jguru.com/forums/view.jsp?EID=1290268). If there's no disagreement, let's try out testng until the JUnit4 dust settles.

Changed 3 years ago by jmoore

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

  • #36 closed.
  • #37 closed.
  • #38 closed.

Tests marked "broken" or "ignore" now will be skipped by ant. (As mentioned in #38, you may need to do some configuring in Eclipse to make that work for you.)

Woo hoo.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/