EnglishFrenchSpanish

OnWorks favicon

rspec - Online in the Cloud

Run rspec in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rspec that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rspec - standalone test runner for Ruby RSpec test suites

SYNOPSYS


rspec [options] [files or directories]

DESCRIPTION


The Ruby script rspec allows you to run tests written with RSpec, a testing tool for Ruby,
from the command line. When run without arguments, rspec finds automatically all the spec
files of your projects, and runs them. It is possible to restrict the tests to a subset by
specifying the names of particular spec files or by using some of the filtering options.

Various options can be passed to rspec to modify the output of the tests, or the way the
tests are run.

OPTIONS


-I PATH
Specify PATH to add to $LOAD_PATH (may be used more than once).

-r, --require PATH
Require a file.

-O, --options PATH
Specify the path to a custom options file.

--order TYPE[:SEED]
Run examples by the specified order type. TYPE can be either default, for which files
are ordered based on the underlying file system's order, or rand, for which the order
of files, groups and examples is randomized. random is an alias for rand. A SEED can
be indicated for the random type, e.g. --order random:123

--seed SEED
Equivalent of --order rand:SEED.

-d, --debugger
Enable debugging.

--fail-fast
Abort the run on first failure.

--failure-exit-code CODE
Override the exit code used when there are failing specs.

-X, --[no-]drb
Run examples via DRb.

--drb-port PORT
Port to connect to the DRb server.

--init
Initialize your project with RSpec.

--configure
Deprecated. Use --init instead.

OUTPUT OPTIONS


-f, --format FORMATTER
Choose a formatter. The various choices are [p]rogress (default - dots),
[d]ocumentation (group and example names), [h]tml, [t]extmate or a custom formatter
class name.

-o, --out FILE
Write output to a file instead of STDOUT. This option applies to the previously
specified --format, or the default format if no format is specified.

-b, --backtrace
Enable full backtrace.

-c, --[no-]color, --[no-]colour
Enable color in the output.

-p, --profile
Enable profiling of examples and list 10 slowest examples.

FILTERING AND TAG OPTIONS


In addition to the following options for selecting specific files, groups, or examples,
you can select a single example by appending the line number to the filename:

rspec path/to/a_spec.rb:37

-P, --pattern PATTERN
Load files matching pattern (default: "spec/**/*_spec.rb").

-e, --example STRING
Run examples whose full nested names include STRING.

-l, --line_number LINE
Specify line number of an example or group (may be used more than once).

-t, --tag TAG[:VALUE]
Run examples with the specified tag, or exclude examples by adding ~ before the tag,
e.g. ~slow. TAG is always converted to a symbol.

--default_path PATH
Set the default path where RSpec looks for examples (can be a path to a file or a
directory).

UTILITY OPTIONS


-v, --version
Display the version.

-h, --help
Display a message similar to this manpage.

AUTHORS


This man page inspired by the help message of rspec, has been written by Cédric Boutillier
for the Debian Project, but may be used by others.

2016-03-13 RSPEC(1)

Use rspec online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Transmission Remote GUI
    Transmission Remote GUI
    Transmission Remote GUI is a feature
    rich cross platform front-end to
    remotely control a Transmission
    Bit-Torrent client daemon via its RPC
    protocol. Transmissi...
    Download Transmission Remote GUI
  • 2
    s3cmd
    s3cmd
    Open-source tool to access Amazon S3
    file storage. S3cmd is a free command
    line tool and client for uploading,
    retrieving and managing data in Amazon
    S3 and ot...
    Download s3cmd
  • 3
    XyZerKunG ServerTool
    XyZerKunG ServerTool
    XyZerKunG ServerTool helps you to make
    your own Minecraft server and play with
    your friend for a few minutes.
    Features:Automatically create a
    Minecraft serverU...
    Download XyZerKunG ServerTool
  • 4
    CalcTools
    CalcTools
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 5
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Windows...
    Download Rocket.Chat Desktop Client
  • 6
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • More »

Linux commands

  • 1
    a2query
    a2query
    a2query - retrieve runtime
    configuration from a local Apache 2 HTTP
    server ...
    Run a2query
  • 2
    a2x
    a2x
    a2x - A toolchain manager for AsciiDoc
    (converts Asciidoc text files to other
    file formats) ...
    Run a2x
  • 3
    covered
    covered
    Covered - Verilog Code Coverage
    Analyzer SYNTAX: covered
    [global_options] score [options] covered
    [global_options] merge [options]
    existing_database database_t...
    Run covered
  • 4
    coverpg
    coverpg
    make.coverpg - create a fax coverpg on
    stdout ...
    Run coverpg
  • 5
    FvwmWharf
    FvwmWharf
    FvwmWharf - the AfterStep application
    "dock" module ported to Fvwm. ...
    Run FvwmWharf
  • 6
    FvwmWindowMenu
    FvwmWindowMenu
    FvwmWindowMenu - open configurable fvwm
    menu listing current windows ...
    Run FvwmWindowMenu
  • More »

Ad