Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #30 (closed)

Opened 18 years ago

Closed 18 years ago

Developers want to mark tests as @Ignored

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: 3.0-M2
Component: Deployment Keywords: iteration1
Cc: Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

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 (2)

comment:1 Changed 18 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.

comment:2 Changed 18 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to 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. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67188 sec.)

We're Hiring!