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 
  

Non-ActiveRecord Models and Test Runner

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



Joined: 03 Jul 2008
Posts: 7

PostPosted: Mon May 11, 2009 4:13 pm    Post subject: Non-ActiveRecord Models and Test Runner Reply with quote

Hello,

I have a Non-ActiveRecord model in one of my rails apps. I have written unit and functional tests related to this model (it does have its own controller). In the test runner I can see that the unit tests for my Non-ActiveRecord model were executed by looking in the output window and seeing the list of files passed to the test runner. But my Non-ActiveRecord model unit tests do not show up on the left hand side in the UI for listing the red/green tests. The functional tests to do show up in the UI on the left.

Any ideas?
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Mon May 11, 2009 5:38 pm    Post subject: Non-ActiveRecord Models and Test Runner Reply with quote

Hi,


bhauff wrote:
Quote:
Hello,



I have a Non-ActiveRecord model in one of my rails apps. I have written unit and functional tests related to this model (it does have its own controller). In the test runner I can see that the unit tests for my Non-ActiveRecord model were executed by looking in the output window and seeing the list of files passed to the test runner. But my Non-ActiveRecord model unit tests do not show up on the left hand side in the UI for listing the red/green tests. The functional tests to do show up in the UI on the left.



Any ideas?


Can you please turn on detailed logging (see
http://wiki.netbeans.org/FaqRubyNBLogging) and send the log file to me?

Thanks,
Erno
Back to top
Brandon Hauff
Posted via mailing list.





PostPosted: Mon May 11, 2009 5:49 pm    Post subject: Non-ActiveRecord Models and Test Runner Reply with quote

Hi Erno,

Good news, problem was on my end. Discovered that I had copy/pasted the
wrong class name in to my test so those "missing" tests were reported
under a different class. Sorry for the side track.

Thanks,

Brandon

Quote:
-----Original Message-----
From: address-removed [mailto:address-removed]
Sent: Monday, May 11, 2009 12:38 PM
To: address-removed
Subject: Re: Non-ActiveRecord Models and Test Runner

Hi,


bhauff wrote:
Quote:
Hello,



I have a Non-ActiveRecord model in one of my rails apps. I have
written unit and functional tests related to this model (it does have
its own controller). In the test runner I can see that the unit tests
for my Non-ActiveRecord model were executed by looking in the output
window and seeing the list of files passed to the test runner. But my
Non-ActiveRecord model unit tests do not show up on the left hand side
in the UI for listing the red/green tests. The functional tests to do
show up in the UI on the left.
Quote:



Any ideas?


Can you please turn on detailed logging (see
http://wiki.netbeans.org/FaqRubyNBLogging) and send the log file to
me?
Quote:

Thanks,
Erno




Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Mon May 11, 2009 5:52 pm    Post subject: Non-ActiveRecord Models and Test Runner Reply with quote

Hi Brandon,

OK, good to hear you solved it.

Cheers,
Erno

Brandon Hauff wrote:
Quote:
Hi Erno,

Good news, problem was on my end. Discovered that I had copy/pasted the
wrong class name in to my test so those "missing" tests were reported
under a different class. Sorry for the side track.

Thanks,

Brandon


Quote:
-----Original Message-----
From: address-removed [mailto:address-removed]
Sent: Monday, May 11, 2009 12:38 PM
To: address-removed
Subject: Re: Non-ActiveRecord Models and Test Runner

Hi,


bhauff wrote:

Quote:
Hello,



I have a Non-ActiveRecord model in one of my rails apps. I have

written unit and functional tests related to this model (it does have
its own controller). In the test runner I can see that the unit tests
for my Non-ActiveRecord model were executed by looking in the output
window and seeing the list of files passed to the test runner. But my
Non-ActiveRecord model unit tests do not show up on the left hand side
in the UI for listing the red/green tests. The functional tests to do
show up in the UI on the left.

Quote:

Any ideas?


Can you please turn on detailed logging (see
http://wiki.netbeans.org/FaqRubyNBLogging) and send the log file to

me?

Quote:
Thanks,
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