Bug #771 [ruby-core:20014]
test/unit wrapper breaks compatibility
| Status : | Closed | Start : | 11/21/2008 | |
| Priority : | High | Due date : | ||
| Assigned to : | Akira Tanaka | % Done : | 100% |
|
| Category : | lib | |||
| Target version : | 1.9.1 Release Candidate | |||
| ruby -v : |
Description
The test/unit wrapper breaks libraries that add behavior to Test::Unit::TestCase. You can't require 'test/unit/testcase' because it doesn't exist. But you can't require 'test/unit' because it autoruns tests. The patch brings back test/unit/testcase.rb and test/unit/assertions.rb to restore compatibility.
Associated revisions
- lib/test/unit/assertions.rb: extracted from lib/test/unit.rb.
lib/test/unit/testcase.rb: ditto.
at asakusa.rb.
[ruby-core:20014]