Skip to content

NotImplementedError not best choice for pending? #3

Description

@trans

Using NotImplementedError to indicate a pending test might not be the best idea, b/c it precludes tests that actually fail due to a NotImplementedError. As rare as that may be, it is something to take in to account.

Activity

  1. trans commented on Feb 25, 2012

    @trans
    MemberAuthor

    We can either designate a new exception class just for this purpose, or limit it to NotImplementedError's that respond true to #assertion?.

    We were using the #assertion? method to differentiate between tests needing ASAP implementation, and those that can be postponed indefinitely. But perhaps that distinction is not so important as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions