cucumber / aruba

Test command-line applications with Cucumber-Ruby, RSpec or Minitest.
MIT License
948 stars 161 forks source link

Add documenation about how to announce information with `RSpec` #395

Open maxmeyer opened 8 years ago

maxmeyer commented 8 years ago

Summary

You can activate announcers via RSpec-metadata. This not documented right now.

Expected Behavior

Add documentation.

Current Behavior

No documentation about this.

Possible Solution

Add documentation

Steps to Reproduce (for bugs)

Look for documentation.

Context

Your Environment

You can use the following template. Please add all announcers to the features/rspec/announce.feature.

Feature: Getting started with RSpec and aruba

  Background:
    Given I use the fixture "empty-app"

  Scenario: Configure Aruba via RSpec metadata

    Given a file named "spec/spec_helper.rb" with:
    """
    require 'aruba/rspec'
    """
    And a file named "spec/getting_started_spec.rb" with:
    """
    require 'spec_helper'
    RSpec.describe 'Configure Aruba with RSpec', :type => :aruba do
      context 'asdf', announce: true do
        it { expect(aruba).to be }
      end
    end
    """
    When I run `rspec`
    Then the specs should all pass
stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs.

stale[bot] commented 7 years ago

This issue has been automatically closed because of inactivity. You can support the Cucumber core team on opencollective.

mvz commented 4 years ago

Related to #391.