NetBeans Forums

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

Merb support
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
Erno Mononen
Posted via mailing list.





PostPosted: Fri Nov 21, 2008 1:45 pm    Post subject: Merb support Reply with quote

Erno Mononen wrote:
Quote:
Tony Mann wrote:
Quote:
Hi Erno.

Thanks for explaining how the RSpec Test command works. I confirmed
that running the 'spec' task from the Rake runner does the same
thing, but there is still no easy shortcut for this action. Why not
allow a keyboard shortcut to be assigned to the RSpec Test command?

I agree that it should be possible to assign a shortcut for it, I just
wanted to find a workaround until it is fixed.

Quote:

I tried using your Rakefile workaround. Unfortunately, the test
results do not show up in the Ruby Test Results pane unless the
invoked rake task is named 'spec'. Any solutions for this?

Could you try whether adding the following to the project.properties
file of the project would help:

spec.tasks=spec,test

.. and if that doesn't help, try adding also

test.tasks=

Erno
Back to top
phatmann



Joined: 04 Nov 2008
Posts: 6

PostPosted: Fri Nov 21, 2008 1:53 pm    Post subject: Merb support Reply with quote

Erno,

Adding that line to project.properties worked perfectly! (I read the wiki page you linked to; it is good to finally understand how this all works.)

So, with that change and the rakefile change, I can run all my tests with a single key. Very nice.

..tony..

On Fri, Nov 21, 2008 at 5:40 AM, Erno Mononen <address-removed ([email]address-removed[/email])> wrote:
Quote:
Tony Mann wrote:
Quote:
Hi Erno.

Thanks for explaining how the RSpec Test command works. I confirmed that running the 'spec' task from the Rake runner does the same thing, but there is still no easy shortcut for this action. Why not allow a keyboard shortcut to be assigned to the RSpec Test command?


I agree that it should be possible to assign a shortcut for it, I just wanted to find a workaround until it is fixed.

Quote:

I tried using your Rakefile workaround. Unfortunately, the test results do not show up in the Ruby Test Results pane unless the invoked rake task is named 'spec'. Any solutions for this?


Could you try whether adding the following to the project.properties file of the project would help:

spec.tasks=spec,test

?

More info on that property at http://wiki.netbeans.org/RubyTesting#section-RubyTesting-RakeIntegration.

Erno



([email]address-removed[/email])


([email]address-removed[/email])



Back to top
fx3000se



Joined: 15 Oct 2008
Posts: 10

PostPosted: Wed Jan 21, 2009 9:32 am    Post subject: Reply with quote

How far is the merb integration (in the daily NB7 builds)?
Thx Clemens
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Wed Jan 21, 2009 12:08 pm    Post subject: Merb support Reply with quote

Hi Clemens,

fx3000se wrote:
Quote:
How far is the merb integration (in the daily NB7 builds)?


There is some basic support for MErb, such as a project wizard, logical
view, rake runner and running/debugging, but the Merb support module is
not part of the standard builds yet. I plan to to put it to the
autoupdate center, hopefully early next week.

For anyone building from sources, the module to build is ruby.merbproject.

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

 
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo