| View previous topic :: View next topic |
| Author |
Message |
bhauff
Joined: 03 Jul 2008 Posts: 7
|
Posted: Mon May 11, 2009 4:13 pm Post subject: Non-ActiveRecord Models and Test Runner |
|
|
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 |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Mon May 11, 2009 5:38 pm Post subject: 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.
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.
|
Posted: Mon May 11, 2009 5:49 pm Post subject: Non-ActiveRecord Models and Test Runner |
|
|
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.
Can you please turn on detailed logging (see
http://wiki.netbeans.org/FaqRubyNBLogging) and send the log file to
| me?
|
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Mon May 11, 2009 5:52 pm Post subject: Non-ActiveRecord Models and Test Runner |
|
|
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.
Can you please turn on detailed logging (see
http://wiki.netbeans.org/FaqRubyNBLogging) and send the log file to
| me?
|
|
|
| Back to top |
|
 |
|
|
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
|
|
|
|