buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Roth (JIRA)" <>
Subject [jira] [Created] (BUILDR-673) MultiTest options are broken
Date Sat, 10 Aug 2013 01:48:47 GMT
John Roth created BUILDR-673:

             Summary: MultiTest options are broken
                 Key: BUILDR-673
             Project: Buildr
          Issue Type: Bug
          Components: Test frameworks
    Affects Versions: 1.4.12, 1.4.11
         Environment: All
            Reporter: John Roth

Documentation indicates that the ":options" to MultiTest is a hash with keys like ":junit"
or ":testng" and values a hash of options to be passed to that test framework. But, in fact,
the entire ":options" hash is passed to each framework. 

In particular, tests.rb line 392 (see context below) reads ",options)" but should
read ", framework_options)" ("framework_options" is otherwise an unread variable
in tests.rb.)

    def initialize(task, options) #:nodoc:
      fail "Missing :frameworks option" unless options[:frameworks]
      @frameworks = options[:frameworks].map do |f|
        framework_options = (options[:options] || {})[f.to_sym] || {}, options)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message