Sha256: 99cdef0307e8de9968c563193b23c8aa16b4a07ddea287f7a10452cb4a1b431c

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 Bytes

Contents

@spawn
Feature: Run Cli::Main with existing Runtime

  This is the API that Spork uses. It creates an existing runtime.
  When the process forks, Spork them passes the runtime to Cli::Main to
  run it.

    @todo-windows
    Scenario: Run a single feature
      Given the standard step definitions
      Given a file named "features/success.feature" with:
        """
        Feature:
          Scenario:
            Given this step passes
        """
      When I run the following Ruby code:
        """
        require 'cucumber'
        runtime = Cucumber::Runtime.new
        Cucumber::Cli::Main.new([]).execute!(runtime)
        """
      Then it should pass
      And the output should contain:
        """
        Given this step passes
        """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-3.0.0 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-3.0.0.pre.2 features/docs/api/run_cli_main_with_existing_runtime.feature