buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "john layton (JIRA)" <j...@apache.org>
Subject [jira] Created: (BUILDR-49) Support for JBehave - Behaviour driven test framework
Date Wed, 20 Feb 2008 23:13:44 GMT
Support for JBehave - Behaviour driven test framework
-----------------------------------------------------

                 Key: BUILDR-49
                 URL: https://issues.apache.org/jira/browse/BUILDR-49
             Project: Buildr
          Issue Type: Improvement
          Components: Test frameworks
    Affects Versions: 1.3
         Environment: Tested against HEAD of Buildr project and latest JBehave release on
Windows XP
            Reporter: john layton
            Priority: Minor
             Fix For: 1.3


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__))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message