# Minitest 1.3.0 Released

**URL:** <https://www.ruby-forum.com/t/minitest-1-3-0-released/150602>\
**Category:** Ruby\
**Created:** [October 10, 2008, 10:25am UTC](https://www.ruby-forum.com/t/minitest-1-3-0-released/150602 "2008-10-10T10:25:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [October 10, 2008, 10:25am UTC](https://www.ruby-forum.com/t/minitest-1-3-0-released/150602/1 "2008-10-10T10:25:07Z")

</div>

minitest version 1.3.0 has been released!

- [http://rubyforge.org/projects/bfts](http://rubyforge.org/projects/bfts)

minitest/unit is a small and fast replacement for ruby’s huge and slow  
test/unit. This is meant to be clean and easy to use both as a regular  
test writer and for language implementors that need a minimal set of  
methods to bootstrap a working unit test suite.

mini/spec is a functionally complete spec engine.

mini/mock, by Steven B., is a beautifully tiny mock object framework.

(This package was called miniunit once upon a time)

Changes:

### 1.3.0 / 2008-10-09

- 2 major enhancements:

- 12 minor enhancements:

- 5 bug fixes:

- [http://rubyforge.org/projects/bfts](http://rubyforge.org/projects/bfts)

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [November 5, 2008, 10:02am UTC](https://www.ruby-forum.com/t/minitest-1-3-0-released/150602/2 "2008-11-05T10:02:08Z")

</div>

I am sorry, but I encounter a dependency problem.

“rfeedparser” depends on “character-encodings”,  
and “hpricot” would load ‘encoding/character/utf-8’ if  
available through:

begin  
require ‘encoding/character/utf-8’  
rescue LoadError  
end

Then ::Encoding would be defined, and there’s no  
default\_external in ::Encoding!

Err, do you mind check RUBY\_VERSION? or  
if Encoding.respond\_to?(:default\_external) or  
something like that?

Thanks!

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [November 5, 2008, 10:05am UTC](https://www.ruby-forum.com/t/minitest-1-3-0-released/150602/3 "2008-11-05T10:05:41Z")

</div>

On Nov 5, 2008, at 01:00 , Lin Jen-Shin wrote:

> I am sorry, but I encounter a dependency problem.
> 
> “rfeedparser” depends on “character-encodings”,  
> and “hpricot” would load ‘encoding/character/utf-8’ if  
> available through:

what does this have to do with minitest?

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [November 5, 2008, 10:24am UTC](https://www.ruby-forum.com/t/minitest-1-3-0-released/150602/4 "2008-11-05T10:24:30Z")

</div>

On Nov 5, 5:03 pm, Ryan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Nov 5, 2008, at 01:00 , Lin Jen-Shin wrote:
> 
> > I am sorry, but I encounter a dependency problem.
> 
> > “rfeedparser” depends on “character-encodings”,  
> > and “hpricot” would load ‘encoding/character/utf-8’ if  
> > available through:
> 
> what does this have to do with minitest?

in minitest-1.3.0/lib/minitest/unit.rb: 43

s = s.force\_encoding(Encoding.default\_external) if defined? Encoding

minitest called Encoding.default\_external if  
Encoding was defined, but if hpricot was required,  
and character-encodings was installed, Encoding  
would be defined even if there’s no default\_external.

My tests failed because there’s no default\_external in  
Encoding.

Sorry for the noise if this was not an issue in trunk,  
or you do think it should be fixed in character-encodings.

Thanks anyway.
