• 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 #100 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

TestNG haltOnSkipped is broken

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

Description

For some unexplained (and possibly unexplainable) reason, the testng ant task has this for the haltOnSkipped setter:

   public void setHaltOnSkipped(boolean value)
   {
     m_haltOnSkipped = true;
   }

Ha! Therefore, currently all builds run without "quick" will fail with the error, "There are SKIPPED tests". This is a problem. Several possible solutions:

  1. (Short-term) Use java omero quick build when you want all artifacts.
  2. Simply get all the tests to pass (working on this anyway).
  3. Get TestNG to fix this. (working on that, too).

Change History

Changed 2 years ago by jmoore

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

r677 includes a patched testng jar which sets m_haltOnSkipped = value. Now, by default failing & skipped tests will still allow for a passing build. This will change. After that, using quick or -Dfail.on.error=false (or similar) will be necessary. Stay tuned.

Changed 2 years ago by jmoore

Now fixed in TestNG CVS. See http://jira.opensymphony.com/browse/TESTNG-74

Changed 2 years ago by jmoore

  • keywords iteration2,testing added
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/