[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7320) create unit test

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Dec 3 03:56:04 EST 2010


    [ https://jira.jboss.org/browse/JBIDE-7320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557422#comment-12557422 ] 

Andre Dietisheim edited comment on JBIDE-7320 at 12/3/10 3:55 AM:
------------------------------------------------------------------

REMOVED comment that was related to running deltacloud in jruby (JBIDE-7372)

      was (Author: adietish):
    I added a test plugin and a test feature. 
I also added a first test that tries to run deltacloud. It does not work yet. JRuby sort of works for me, but I cannot use "gem" to install deltacloud in a 2nd step. I have to find out about the reasons.

For documentation purposes:
* advanced usage of jruby in a eclipse bundle:
http://ketan.padegaonkar.name/2009/04/10/cucumber-on-jruby-inside-eclipse.html 

* maven dependencies that add jruby gems:
http://gist.github.com/628117

* classloader problems when running jruby in a bundle:
http://maniagnosis.crsr.net/2009/07/running-jruby-in-osgi-container.html

* how to use gem in jruby (uses it as command-line argument, which is not usable for me):
http://kenai.com/projects/jruby/pages/GettingStarted

* how torque box does end-to-end testing with arquillian:
http://torquebox.org/news/2010/08/30/end-to-end-testing/

* a possibility to invoke jruby & deltacloud from within the maven build process: failsafe maven plugin
http://maven.apache.org/plugins/maven-failsafe-plugin/

* sun documentation for jruby & ruby gems (paragraph "RubyGems"):
http://java.sun.com/developer/technicalArticles/scripting/jruby/#ej

* RubyGems userguide:
http://docs.rubygems.org/read/chapter/1

* a blog that shows how to bundle and use gems in a jar:
http://blog.snepo.com/2010/03/jar-of-rubygems/

* jruby wiki:
http://kenai.com/projects/jruby/pages/Home

  
> create unit test
> ----------------
>
>                 Key: JBIDE-7320
>                 URL: https://jira.jboss.org/browse/JBIDE-7320
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: deltacloud
>    Affects Versions: 3.2.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.2.0.Final
>
>
> We need unit test to test the code units. The tests should use its own (internal) deltacloud that runs in the same JVM (on top of JRuby) 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list