Project

General

Profile

Actions

Feature #4025

closed

Add Assertion class to Core

Added by trans (Thomas Sawyer) over 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:33058]

Description

=begin
I notice every test framework has it's own Assertion class (names very such as AssertionFailure, AssertionFailureError, etc.)

It would help interoperability if Ruby had a base exception they all could depend upon. Essentially:

class Assertion < Exception; end

This comes from MiniTest, just taken out of the MiniTest namespace.

Having a common base class would allow developers to more easily write test utility libraries that could be used by a variety of test frameworks.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0