Sha256: a9f5d1e8d163a7d8218c521404ef06ea85324f6e404512a0bca9bf85b5b111b4

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:test)
task default: :test

desc "Run the tests and update the snapshots"
task :update_snapshots do
  system("UPDATE_SNAPSHOTS=true rake test")
end

desc "Regenerates example fixtures for tests"
task :regenerate_examples do
  system("rspec --format RSpec::Trace::Formatter --out spec/fixtures/example_trace_events.jsonl examples")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-trace-formatter-0.2.0 Rakefile
rspec-trace-formatter-0.1.0 Rakefile