buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Hugo Borja (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BUILDR-49) Support for JBehave - Behaviour driven test framework
Date Wed, 02 Apr 2008 23:28:25 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Victor Hugo Borja resolved BUILDR-49.
-------------------------------------

    Resolution: Fixed

In trunk

> 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
>            Assignee: Victor Hugo Borja
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: jbehave.rb, jbehave_spec.rb
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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