How do I configure the Ruby Runtime for TestCases [message #4368] |
Thu, 17 May 2007 22: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 #4715 is a reply to message #4576] |
Tue, 22 May 2007 22: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 15: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 17: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 15: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
|
|
|
Powered by
FUDForum. Page generated in 0.05350 seconds