Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-49

Support for JBehave - Behaviour driven test framework

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • Test frameworks
    • None
    • Tested against HEAD of Buildr project and latest JBehave release on Windows XP

    Description

      The attached files contain the Spec and Implementation of the JBehave support (based on the current TestNG support!). The submitted implementation only supports running of simple behaviour classes, not stories.

      This diff supports the running of jbehave_spec.rb ...

      Index: spec/spec_helpers.rb
      ===================================================================
      — spec/spec_helpers.rb (revision 629326)
      +++ spec/spec_helpers.rb (working copy)
      @@ -10,6 +10,9 @@
      if rspec_options.argv.any?

      { |s| s =~ /groovy_compilers_spec/ }

      require 'java/groovyc'
      end
      + if rspec_options.argv.any?

      { |s| s =~ /jbehave_spec/ }

      + require 'java/jbehave'
      + end

      require File.expand_path('sandbox', File.dirname(_FILE_))

      Attachments

        1. jbehave.rb
          1 kB
          john layton
        2. jbehave_spec.rb
          3 kB
          john layton

        Activity

          People

            vic Victor Hugo Borja
            johnlayton john layton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified