class

Gem::TestCase

v1_9_3_392 - Show latest stable - Superclass: MiniTest::Unit::TestCase

RubyGemTestCase provides a variety of methods for testing rubygems and gem-related behavior in a sandbox. Through RubyGemTestCase you can install and uninstall gems, fetch remote gems through a stub fetcher and be assured your normal set of gems is not affected.

Tests are always run at a safe level of 1.

Included modules

  • Gem::DefaultUserInteraction

Files

  • lib/rubygems/test_case.rb
  • lib/test/unit/parallel.rb