method

execute_examples

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Example::ExampleGroupMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.2.0) is shown here.

execute_examples(success, instance_variables, examples, run_options) private

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/example/example_group_methods.rb, line 209
      def execute_examples(success, instance_variables, examples, run_options)
        return [success, instance_variables] unless success

        after_all_instance_variables = instance_variables
        
        examples.each do |example|
          example_group_instance = new(example.description,example.options,&example_implementations[example])
          success &= example_group_instance.execute(run_options, instance_variables)
          after_all_instance_variables = example_group_instance.instance_variable_hash
        end
        
        return [success, after_all_instance_variables]
      end
Register or log in to add new notes.