Class: QaAtMigration::TestFile

Inherits:
Object
  • Object
show all
Defined in:
lib/qa_at_migration/test_file.rb

Constant Summary collapse

DEFAULT_STATUS =
'Draft'.freeze

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ TestFile

Returns a new instance of TestFile.



5
6
7
# File 'lib/qa_at_migration/test_file.rb', line 5

def initialize(path)
  @path = path
end

Instance Method Details

#contentObject



9
10
11
12
13
14
15
16
17
# File 'lib/qa_at_migration/test_file.rb', line 9

def content
  [
    title,
    description,
    preconditions,
    steps,
    status
  ]
end