Sha256: 523c479f4ce246b72b3ac929e4b2a91aaa70a59aa92a393a3617ee25cca4a193
Contents?: true
Size: 598 Bytes
Versions: 36
Compression:
Stored size: 598 Bytes
Contents
FactoryBot.define do factory :test_run, class: 'Inferno::Entities::TestRun' do test_session test_session_id { test_session.id } transient do runnable { { test_suite_id: 'BasicTestSuite::Suite' } } end test_suite_id { runnable[:test_suite_id] } test_group_id { runnable[:test_group_id] } test_id { runnable[:test_id] } status { 'queued' } inputs { nil } wait_timeout { nil } initialize_with { new(**attributes) } to_create do |instance| Inferno::Repositories::TestRuns.new.create(instance.to_hash).tap(&:runnable) end end end
Version data entries
36 entries across 36 versions & 1 rubygems