rspec-core
RSpec runner and formatters
File Explorer
Download Latest Version (.zip)- ci.yml
- dependabot.yml
- FUNDING.yml
- 1000_groups_1_example.rb
- 1_group_1000_examples.rb
- helper.rb
- running_1000_groups_1_example.rb
- running_1_group_1000_examples.rb
- define_examples.rb
- helper.rb
- with_config_hooks.rb
- with_config_hooks_module_inclusions_and_shared_context_inclusions.rb
- with_module_inclusions.rb
- with_no_config_hooks_or_inclusions.rb
- with_shared_context_inclusions.rb
- boot_time_with_many_load_path_dirs.sh
- call_v_yield.rb
- capture_block_vs_yield.rb
- check_inclusion.rb
- define_method_v_attr_reader_v_def.rb
- eager_vs_lazy_metadata.rb
- filter_object.rb
- flat_map_vs_inject.rb
- hash_functions.rb
- index_v_take_while.rb
- keys_each_vs_each_key.rb
- map_then_flatten_vs_flat_map_benchmarks.rb
- module_inclusion_filtering.rb
- precalculate_absolute_file_path_or_not.rb
- README.md
- require_relative_v_require.rb
- respond_to_v_defined.rb
- several_regexps_v_one_big_one.rb
- shuffle_vs_sort_by_for_random_ordering.rb
- threadsafe_let_block.rb
- to_proc_v_not_to_proc.rb
- rspec
- bisect.feature
- dry_run.feature
- example_matches_name_option.feature
- example_name_option.feature
- exit_status.feature
- fail_fast.feature
- format_option.feature
- init.feature
- line_number_appended_to_path.feature
- only_failures.feature
- order.feature
- pattern_option.feature
- rake_task.feature
- randomization.feature
- README.md
- require_option.feature
- ruby.feature
- tag.feature
- warnings_option.feature
- alias_example_to.feature
- backtrace_exclusion_patterns.feature
- color.feature
- custom_settings.feature
- default_path.feature
- deprecation_stream.feature
- enable_global_dsl.feature
- error_exit_code.feature
- exclude_pattern.feature
- fail_fast.feature
- fail_if_no_examples.feature
- failure_exit_code.feature
- order_and_seed.feature
- output_stream.feature
- overriding_global_ordering.feature
- pattern.feature
- pending_failure_output.feature
- profile.feature
- read_options_from_file.feature
- run_all_when_everything_filtered.feature
- zero_monkey_patching_mode.feature
- aliasing.feature
- basic_structure.feature
- shared_context.feature
- shared_examples.feature
- aggregating_failures.feature
- configure_expectation_framework.feature
- exclusion_filters.feature
- filter_run_when_matching.feature
- if_and_unless.feature
- inclusion_filters.feature
- configurable_colors.feature
- custom_formatter.feature
- json_formatter.feature
- arbitrary_methods.feature
- let.feature
- modules.feature
- around_hooks.feature
- before_and_after_hooks.feature
- filtering.feature
- when_first_matching_example_defined.feature
- current_example.feature
- current_scope.feature
- described_class.feature
- user_defined.feature
- use_any_framework.feature
- use_flexmock.feature
- use_mocha.feature
- use_rr.feature
- use_rspec.feature
- pending_examples.feature
- README.md
- skipped_examples.feature
- arbitrary_file_suffix.feature
- additional_cli_steps.rb
- core_standalone_steps.rb
- explicit_subject.feature
- implicit_subject.feature
- one_liner_syntax.feature
- diff_lcs_versions.rb
- env.rb
- jruby.rb
- require_expect_syntax_in_aruba_specs.rb
- rubinius.rb
- ruby_27_support.rb
- send_sigint_during_bisect.rb
- .nav
- clear_examples.feature
- core_standalone.feature
- README.md
- coordinator.rb
- example_minimizer.rb
- fork_runner.rb
- server.rb
- shell_command.rb
- shell_runner.rb
- utilities.rb
- base_bisect_formatter.rb
- base_formatter.rb
- base_text_formatter.rb
- bisect_drb_formatter.rb
- bisect_progress_formatter.rb
- console_codes.rb
- deprecation_formatter.rb
- documentation_formatter.rb
- exception_presenter.rb
- failure_list_formatter.rb
- fallback_message_formatter.rb
- helpers.rb
- html_formatter.rb
- html_printer.rb
- html_snippet_extractor.rb
- json_formatter.rb
- profile_formatter.rb
- progress_formatter.rb
- protocol.rb
- snippet_extractor.rb
- syntax_highlighter.rb
- flexmock.rb
- mocha.rb
- null.rb
- rr.rb
- rspec.rb
- spec_helper.rb
- .rspec
- backtrace_formatter.rb
- configuration.rb
- configuration_options.rb
- did_you_mean.rb
- drb.rb
- dsl.rb
- example.rb
- example_group.rb
- example_status_persister.rb
- filter_manager.rb
- flat_map.rb
- formatters.rb
- hooks.rb
- invocations.rb
- memoized_helpers.rb
- metadata.rb
- metadata_filter.rb
- minitest_assertions_adapter.rb
- notifications.rb
- option_parser.rb
- ordering.rb
- output_wrapper.rb
- pending.rb
- profiler.rb
- project_initializer.rb
- rake_task.rb
- reporter.rb
- ruby_project.rb
- runner.rb
- sandbox.rb
- set.rb
- shared_context.rb
- shared_example_group.rb
- shell_escape.rb
- test_unit_assertions_adapter.rb
- version.rb
- warnings.rb
- world.rb
- autorun.rb
- core.rb
- ci_functions.sh
- clone_all_rspec_repos
- console
- cucumber.sh
- functions.sh
- ignores
- legacy_setup.sh
- list_method_cache_busters.sh
- predicate_functions.sh
- prevent_runtime_method_cache_busters
- regen_fixtures.sh
- rspec_with_simplecov
- run_build
- run_rubocop
- update_rubygems_and_install_bundler
- bisect_runners_spec.rb
- bisect_spec.rb
- fail_if_no_examples_spec.rb
- failed_line_detection_spec.rb
- filtering_spec.rb
- location_rerun_spec.rb
- order_spec.rb
- output_stream_spec.rb
- persistence_failures_spec.rb
- spec_file_load_errors_spec.rb
- suite_hooks_errors_spec.rb
- coordinator_spec.rb
- example_minimizer_spec.rb
- server_spec.rb
- shell_command_spec.rb
- shell_runner_spec.rb
- utilities_spec.rb
- only_failures_support_spec.rb
- base_text_formatter_spec.rb
- console_codes_spec.rb
- deprecation_formatter_spec.rb
- documentation_formatter_spec.rb
- exception_presenter_spec.rb
- failure_list_formatter_spec.rb
- fallback_message_formatter_spec.rb
- helpers_spec.rb
- html_formatted.html
- html_formatter_spec.rb
- html_snippet_extractor_spec.rb
- json_formatter_spec.rb
- profile_formatter_spec.rb
- progress_formatter_spec.rb
- snippet_extractor_spec.rb
- syntax_highlighter_spec.rb
- bar.rb
- foo_spec.rb
- consistently_ordered_1_specs.rb
- consistently_ordered_2_specs.rb
- consistently_ordered_3_specs.rb
- consistently_ordered_4_specs.rb
- frieren_quote.rb
- a_bar.rb
- a_foo.rb
- a_spec.rb
- blocking_pipe_bisect_spec.rb_
- custom_example_group_runner.rb
- fail_on_load_spec.rb_
- formatter_specs.rb
- inconsistently_ordered_specs.rb
- utf8_encoded.rb
- aggregate_failures_spec.rb
- backtrace_formatter_spec.rb
- configuration_options_spec.rb
- configuration_spec.rb
- did_you_mean_spec.rb
- drb_spec.rb
- dsl_spec.rb
- example_execution_result_spec.rb
- example_group_constants_spec.rb
- example_group_spec.rb
- example_spec.rb
- example_status_persister_spec.rb
- failed_example_notification_spec.rb
- filter_manager_spec.rb
- filterable_item_repository_spec.rb
- formatters_spec.rb
- hooks_filtering_spec.rb
- hooks_spec.rb
- invocations_spec.rb
- memoized_helpers_spec.rb
- metadata_filter_spec.rb
- metadata_spec.rb
- notifications_spec.rb
- option_parser_spec.rb
- ordering_spec.rb
- output_wrapper_spec.rb
- pending_example_spec.rb
- pending_spec.rb
- profiler_spec.rb
- project_initializer_spec.rb
- rake_task_spec.rb
- reporter_spec.rb
- rspec_matchers_spec.rb
- ruby_project_spec.rb
- runner_spec.rb
- set_spec.rb
- shared_context_spec.rb
- shared_example_group_spec.rb
- suite_hooks_spec.rb
- warnings_spec.rb
- world_spec.rb
- core_spec.rb
- acl.rb
- drb.rb
- rspec.rb
- assertions.rb
- api.rb
- tasklib.rb
- expectations.rb
- mocks.rb
- assertions.rb
- coderay.rb
- erb.rb
- json.rb
- minitest.rb
- open3.rb
- rake.rb
- rr.rb
- aruba_support.rb
- config_options_helper.rb
- error_highlight.rb
- fake_bisect_runner.rb
- formatter_support.rb
- helper_methods.rb
- isolated_home_directory.rb
- matchers.rb
- mathn_integration_support.rb
- runner_support.rb
- sandboxing.rb
- shared_example_groups.rb
- spec_files.rb
- spec_helper.rb
- .document
- .gitignore
- .rspec
- .rubocop.yml
- .rubocop_rspec_base.yml
- .rubocop_todo.yml
- .yardopts
- BUILD_DETAIL.md
- Changelog.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- cucumber.yml
- DEV-README.md
- DEVELOPMENT.md
- Filtering.md
- Gemfile
- Gemfile-custom.sample
- Guardfile
- ISSUE_TEMPLATE.md
- LICENSE.md
- maintenance-branch
- Rakefile
- README.md
- REPORT_TEMPLATE.md
- rspec-core.gemspec
- SECURITY.md
# Installation Guide
1. Get the code
git clone https://github.com/rspec/rspec-core
Downloads the entire project code from GitHub to your computer.
cd rspec-core
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Ruby Ruby is required to use gem.
gem install rspec # for rspec-core, rspec-expectations, rspec-mocks
Installs the package published on RubyGems directly.
gem install rspec-core # for rspec-core only
Installs the package published on RubyGems directly.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Ruby
EasyPrerequisites
bundle install
Installs the Ruby libraries listed in the Gemfile.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
// repository documentation
Was this content helpful?
(0 ratings)
