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  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Thu Feb 13 14:08:50 GMT 2025
Powered by FUDForum. Page generated in 0.03747 seconds
|