FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

NB daily build: Test mediator bug?

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
fx3000se



Joined: 15 Oct 2008
Posts: 10

PostPosted: Tue Oct 28, 2008 7:58 am    Post subject: NB daily build: Test mediator bug? Reply with quote

When I run Test from within NB (NetBeans IDE Dev (Build 20081028044918), on WinXP) I get:
D:\NetBeans\ruby2\nb_test_mediator.rb:96:in `require_file': undefined local variable or method `config' for main:Object (NameError)

The file that is included at that point is the configuration/environments/test.rb .

I do not get this exception when running the tests through "rake test". Bug, or am I missing something?

Thx
Clemens
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Tue Oct 28, 2008 6:00 pm    Post subject: NB daily build: Test mediator bug? Reply with quote

Hi Clemens,


fx3000se wrote:
Quote:
When I run Test from within NB (NetBeans IDE Dev (Build 20081028044918), on WinXP) I get:

D:\NetBeans\ruby2\nb_test_mediator.rb:96:in `require_file': undefined local variable or method `config' for main:Object (NameError)



The file that is included at that point is the configuration/environments/test.rb .



I do not get this exception when running the tests through "rake test". Bug, or am I missing something?



Seems like a bug, could you please file an issue for this against the
ruby/testing component? I assume this happens when you're running a
single test file and running the rake test task from the IDE works (just
checking whether you meant that 'rake test' works from the IDE or only
from the command line)?

Erno
Back to top
fx3000se



Joined: 15 Oct 2008
Posts: 10

PostPosted: Wed Oct 29, 2008 6:55 am    Post subject: Reply with quote

--> http://www.netbeans.org/issues/show_bug.cgi?id=151667

Yes, I meant the command line

Thx for your great work!
Clemens
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed Oct 29, 2008 8:06 am    Post subject: NB daily build: Test mediator bug? Reply with quote

fx3000se wrote:
Quote:
--> http://www.netbeans.org/issues/show_bug.cgi?id=151667


Thanks! Let's continue resolving this in the issue.

Erno
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB