Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » How do I configure the Ruby Runtime for TestCases
How do I configure the Ruby Runtime for TestCases [message #4368] Fri, 18 May 2007 02:44 Go to next message
Mark Howe is currently offline Mark HoweFriend
Messages: 14
Registered: July 2009
Junior Member
How can I configure a Ruby Interpreter when running unit tests. I'm extending AbstractModelTests and
creating a new runtime workspace, copying a project from my test/workspace into the runtime
workspace. All that works fine, any paths set up in the project are fine, but the interpreters are
defined in the workspace so they don't show up for the unit test. So I need to setup the ruby
runtime programatically.

Any help would be greatly appreciated.

Thanks Mark
Re: How do I configure the Ruby Runtime for TestCases [message #4576 is a reply to message #4368] Mon, 21 May 2007 06:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhail.kalugin.xored.com

Hi, Mark.

As I remember, you had already asked this question some time ago. I had
answered at that
time(http://dev.eclipse.org/mhonarc/lists/dltk-dev/msg00007.html). So,
was my thoughts there useful? If not, please say and I'll be grad to
help with a solution.

Mark Howe wrote:
> How can I configure a Ruby Interpreter when running unit tests. I'm
> extending AbstractModelTests and creating a new runtime workspace,
> copying a project from my test/workspace into the runtime workspace. All
> that works fine, any paths set up in the project are fine, but the
> interpreters are defined in the workspace so they don't show up for the
> unit test. So I need to setup the ruby runtime programatically.
>
> Any help would be greatly appreciated.
>
> Thanks Mark
Re: How do I configure the Ruby Runtime for TestCases [message #4715 is a reply to message #4576] Wed, 23 May 2007 02:05 Go to previous messageGo to next message
Mark Howe is currently offline Mark HoweFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Mikhail, sorry I didn't see your previous post for some reason (guess I was looking at the old
newsgroup). Thanks for the info, will give this a go and see if I need any more help

Thanks
Mark

Mikhail Kalugin wrote:
> Hi, Mark.
>
> As I remember, you had already asked this question some time ago. I had
> answered at that
> time(http://dev.eclipse.org/mhonarc/lists/dltk-dev/msg00007.html). So,
> was my thoughts there useful? If not, please say and I'll be grad to
> help with a solution.
>
> Mark Howe wrote:
>> How can I configure a Ruby Interpreter when running unit tests. I'm
>> extending AbstractModelTests and creating a new runtime workspace,
>> copying a project from my test/workspace into the runtime workspace.
>> All that works fine, any paths set up in the project are fine, but the
>> interpreters are defined in the workspace so they don't show up for
>> the unit test. So I need to setup the ruby runtime programatically.
>>
>> Any help would be greatly appreciated.
>>
>> Thanks Mark
Re: How do I configure the Ruby Runtime for TestCases [message #4853 is a reply to message #4576] Thu, 24 May 2007 19:09 Go to previous messageGo to next message
Mark Howe is currently offline Mark HoweFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Mikhail, another test related question.

If I get SourceMethod in a test case and then ask for a SourceReflementInfo, it's always null
(whereas asking a SourceModule works fine). I must not be intializing the test project correctly,
any idea what that might be (sorry how little context there is for the question :>).

Thanks
Mark

Mikhail Kalugin wrote:
> Hi, Mark.
>
> As I remember, you had already asked this question some time ago. I had
> answered at that
> time(http://dev.eclipse.org/mhonarc/lists/dltk-dev/msg00007.html). So,
> was my thoughts there useful? If not, please say and I'll be grad to
> help with a solution.
>
> Mark Howe wrote:
>> How can I configure a Ruby Interpreter when running unit tests. I'm
>> extending AbstractModelTests and creating a new runtime workspace,
>> copying a project from my test/workspace into the runtime workspace.
>> All that works fine, any paths set up in the project are fine, but the
>> interpreters are defined in the workspace so they don't show up for
>> the unit test. So I need to setup the ruby runtime programatically.
>>
>> Any help would be greatly appreciated.
>>
>> Thanks Mark
Re: How do I configure the Ruby Runtime for TestCases [message #4991 is a reply to message #4853] Tue, 29 May 2007 21:29 Go to previous messageGo to next message
Mark Howe is currently offline Mark HoweFriend
Messages: 14
Registered: July 2009
Junior Member
I figured out what I was doing wrong, thanks


Mark Howe wrote:
> Hi Mikhail, another test related question.
>
> If I get SourceMethod in a test case and then ask for a
> SourceReflementInfo, it's always null (whereas asking a SourceModule
> works fine). I must not be intializing the test project correctly, any
> idea what that might be (sorry how little context there is for the
> question :>).
>
> Thanks
> Mark
>
> Mikhail Kalugin wrote:
>> Hi, Mark.
>>
>> As I remember, you had already asked this question some time ago. I
>> had answered at that
>> time(http://dev.eclipse.org/mhonarc/lists/dltk-dev/msg00007.html). So,
>> was my thoughts there useful? If not, please say and I'll be grad to
>> help with a solution.
>>
>> Mark Howe wrote:
>>> How can I configure a Ruby Interpreter when running unit tests. I'm
>>> extending AbstractModelTests and creating a new runtime workspace,
>>> copying a project from my test/workspace into the runtime workspace.
>>> All that works fine, any paths set up in the project are fine, but
>>> the interpreters are defined in the workspace so they don't show up
>>> for the unit test. So I need to setup the ruby runtime programatically.
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks Mark
Re: How do I configure the Ruby Runtime for TestCases [message #8173 is a reply to message #4576] Thu, 28 June 2007 19:08 Go to previous message
Mark Howe is currently offline Mark HoweFriend
Messages: 14
Registered: July 2009
Junior Member
BTW I did get this to work. I ended grabbing the search code you use when setting up the
interpreter, it's fast and works well.

Thanks
Mark

Mikhail Kalugin wrote:
> Hi, Mark.
>
> As I remember, you had already asked this question some time ago. I had
> answered at that
> time(http://dev.eclipse.org/mhonarc/lists/dltk-dev/msg00007.html). So,
> was my thoughts there useful? If not, please say and I'll be grad to
> help with a solution.
>
> Mark Howe wrote:
>> How can I configure a Ruby Interpreter when running unit tests. I'm
>> extending AbstractModelTests and creating a new runtime workspace,
>> copying a project from my test/workspace into the runtime workspace.
>> All that works fine, any paths set up in the project are fine, but the
>> interpreters are defined in the workspace so they don't show up for
>> the unit test. So I need to setup the ruby runtime programatically.
>>
>> Any help would be greatly appreciated.
>>
>> Thanks Mark
Previous Topic:dltk source coding format template
Next Topic:IEvaluatedType representing an Array of a certain type
Goto Forum:
  


Current Time: Wed Jul 24 13:38:14 GMT 2024

Powered by FUDForum. Page generated in 0.03622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top