class CukeParser::CukeModel::CukeSuite
Attributes
branch_build_tag[R]
this will store all the elements for a specific feature
branch_number[R]
this will store all the elements for a specific feature
browser[R]
this will store all the elements for a specific feature
converted_duration[RW]
this will store all the elements for a specific feature
date[RW]
this will store all the elements for a specific feature
duration[RW]
this will store all the elements for a specific feature
features[RW]
this will store all the elements for a specific feature
os[R]
this will store all the elements for a specific feature
runstamp[R]
this will store all the elements for a specific feature
status[RW]
this will store all the elements for a specific feature
time[RW]
this will store all the elements for a specific feature
url[R]
this will store all the elements for a specific feature
Public Class Methods
new(date, time, runstamp, branch_build_tag, branch_number, os, url, browser)
click to toggle source
# File lib/cuke_model/suite.rb, line 7 def initialize(date, time, runstamp, branch_build_tag, branch_number, os, url, browser) @date = date @time = time @runstamp = runstamp @duration = 0 @converted_duration = 0 @features = [] @browser = browser @os = os @branch_number = branch_number @branch_build_tag = branch_build_tag @url = url @status = "" end
Public Instance Methods
getFullName()
click to toggle source
# File lib/cuke_model/suite.rb, line 31 def getFullName #returns keyword + name fullName = @date + "_" + @time return fullName end
to_csv()
click to toggle source
# File lib/cuke_model/suite.rb, line 22 def to_csv #prints pretty csv format "#@date,#@time,#@duration,#@converted_duration,#@browser,#@os,#@branch_number,#@branch_build_tag,#@url,#@status" end
to_csv_pretty()
click to toggle source
# File lib/cuke_model/suite.rb, line 27 def to_csv_pretty return self.to_csv end