Class Gem::Commands::TestCommand
In: lib/rubygems/commands/test_command.rb
Parent: Gem::Command

Methods

Included Modules

Gem::VersionOption Gem::DefaultUserInteraction

Constants

VERSION = "0.4.3"
DEFAULT_RAKEFILES = ['rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb']   taken straight out of rake

Public Class methods

Public Instance methods

Get the config in our namespace

Escapes a URI.

Execute routine. This is where the magic happens.

find a gem given a name and version

Locate rake itself, prefer gems version.

Locate the rakefile for a gem name and version

Gather system results, test results into a YAML format ready for delivery.

obtain the rake arguments for a specific platform and environment.

Install development dependencies for the gem we‘re about to test.

Normalize the URI by adding "http://" if it is missing.

platform-specific reading routines.

if a proxy is supplied, return a URI

Run the tests with the appropriate spec and rake_path, and capture all output.

Upload yaml Results to results_url.

Convenience predicate for upload_results option

[Validate]