Sha256: 372326510680a37b9a34f047bf2671e16229db1d73ed61db3019e03c9762942d

Contents?: true

Size: 739 Bytes

Versions: 11

Compression:

Stored size: 739 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.

    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

11 entries across 11 versions & 2 rubygems

Version Path
cucumber-2.99.0 features/docs/api/run_cli_main_with_existing_runtime.feature
mobiusloop-0.1.5 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-3.0.0.pre.1 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-2.4.0 features/docs/api/run_cli_main_with_existing_runtime.feature
mobiusloop-0.1.3 features/docs/api/run_cli_main_with_existing_runtime.feature
mobiusloop-0.1.2 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-2.3.3 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-2.3.2 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-2.3.1 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-2.3.0 features/docs/api/run_cli_main_with_existing_runtime.feature
cucumber-2.2.0 features/docs/api/run_cli_main_with_existing_runtime.feature