← Back to team overview

zorba-coders team mailing list archive

[Bug 990119] [NEW] Rename EXPECTED_FAILURE() to KNOWN_BUG()

 

Public bug reported:

The name "EXPECTED_FAILURE()" is a bit confusing, as it could imply a
negative test. It should not be used for negative tests, however; it is
only for those tests that are failing due to a known, filed-but-as-yet-
unfixed bug.

I propose renaming this to KNOWN_BUG(). EXPECTED_FAILURE() could be kept
as a deprecated synonym for the time being.

** Affects: zorba
     Importance: Medium
         Status: New

** Changed in: zorba
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/990119

Title:
  Rename EXPECTED_FAILURE() to KNOWN_BUG()

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The name "EXPECTED_FAILURE()" is a bit confusing, as it could imply a
  negative test. It should not be used for negative tests, however; it
  is only for those tests that are failing due to a known, filed-but-as-
  yet-unfixed bug.

  I propose renaming this to KNOWN_BUG(). EXPECTED_FAILURE() could be
  kept as a deprecated synonym for the time being.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/990119/+subscriptions


Follow ups

References