You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "john layton (JIRA)" <ji...@apache.org> on 2008/02/21 00:13:44 UTC

[jira] Created: (BUILDR-49) Support for JBehave - Behaviour driven test framework

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.


[jira] Assigned: (BUILDR-49) Support for JBehave - Behaviour driven test framework

Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victor Hugo Borja reassigned BUILDR-49:
---------------------------------------

    Assignee: Victor Hugo Borja

> 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.


[jira] Resolved: (BUILDR-49) Support for JBehave - Behaviour driven test framework

Posted by "Victor Hugo Borja (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (BUILDR-49) Support for JBehave - Behaviour driven test framework

Posted by "john layton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

john layton updated BUILDR-49:
------------------------------

    Attachment: jbehave_spec.rb
                jbehave.rb

> 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
>
>         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.