Sha256: 374994dacebd8808a8a4e720f97dd753a8ff48a1639e971481e5c387cb8acad0
Contents?: true
Size: 981 Bytes
Versions: 7
Compression:
Stored size: 981 Bytes
Contents
unless RUBY_VERSION.to_s < '1.9.0' require 'simplecov' SimpleCov.command_name('cucumber_tests') end include Test::Unit::Assertions require File.dirname(__FILE__) + '/../../lib/cucumber_analytics' DEFAULT_FEATURE_FILE_NAME = 'test_feature.feature' DEFAULT_STEP_FILE_NAME = 'test_steps.rb' DEFAULT_FILE_DIRECTORY = "#{File.dirname(__FILE__)}/../temp_files" TEST_FILE_DIRECTORY = "#{File.dirname(__FILE__)}/../test_files" TEST_STEP_FILE_LOCATION = "#{DEFAULT_FILE_DIRECTORY}/#{DEFAULT_STEP_FILE_NAME}" SPEC_DIRECTORY = "#{File.dirname(__FILE__)}/../../spec" Before do @default_feature_file_name = DEFAULT_FEATURE_FILE_NAME @default_step_file_name = DEFAULT_STEP_FILE_NAME @test_file_directory = TEST_FILE_DIRECTORY @default_file_directory = DEFAULT_FILE_DIRECTORY @test_step_file_location = TEST_STEP_FILE_LOCATION FileUtils.mkdir(@default_file_directory) end After do FileUtils.remove_dir(@default_file_directory, true) end
Version data entries
7 entries across 7 versions & 1 rubygems