Sha256: 28b2fce2b5812bb5fcc1e5423f9e1d8c0a2ec7ebc3829ef253461188ad94ef7e
Contents?: true
Size: 990 Bytes
Versions: 2
Compression:
Stored size: 990 Bytes
Contents
require "cucumber" require "cucumber/rake/task" require "acouchi" require "acouchi/rspec/matchers" desc "build project with Acouchi code included" task :build do configuration = Acouchi::Configuration.from_json(File.read("acouchi_configuration.json")) configuration.device =ENV["ACOUCHI_DEVICE"] if ENV["ACOUCHI_DEVICE"] configuration.port =ENV["ACOUCHI_PORT"] if ENV["ACOUCHI_PORT"] Acouchi::ProjectBuilder.new(configuration).build end Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty" end desc "open up an acouchi console" task :console do configuration = Acouchi::Configuration.from_json(File.read("acouchi_configuration.json")) configuration.device =ENV["ACOUCHI_DEVICE"] if ENV["ACOUCHI_DEVICE"] configuration.port =ENV["ACOUCHI_PORT"] if ENV["ACOUCHI_PORT"] test_runner = Acouchi::TestRunner.new(configuration) test_runner.start page = Acouchi::Solo.new(configuration) require "pry" binding.pry test_runner.stop end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acouchi-0.0.11 | examples/AcouchiSample/Rakefile |
acouchi-0.0.10 | examples/AcouchiSample/Rakefile |