Sha256: a880137ef5d2be2a70e0a91a646d416d0c9c5e949661c5828a74cde9780a93d5
Contents?: true
Size: 794 Bytes
Versions: 5
Compression:
Stored size: 794 Bytes
Contents
module CukeQ class ScenarioExploder def explode(file_colon_lines) yield file_colon_lines.map { |f| {:file => f} } # temporary # # cwd is now the working copy of the project # units = [] # # # we do the parsing in a subprocess to avoid having to restart the master # # whenever gherkin/cucumber is updated. # # # # The slaves should do the same. CukeQ is just passing things through. # # # IO.popen("-") do |pipe| # if pipe # while json = pipe.gets # units << JSON.parse(json) # end # else # file_colon_lines.each do |f| # puts json_for(f) # end # end # end # # yield units end end # ScenarioExploder end # CukeQ
Version data entries
5 entries across 5 versions & 1 rubygems