| View previous topic :: View next topic |
| Author |
Message |
Erno Mononen Posted via mailing list.
|
Posted: Fri Nov 21, 2008 1:45 pm Post subject: Merb support |
|
|
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
|
Posted: Fri Nov 21, 2008 1:53 pm Post subject: Merb support |
|
|
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
|
Posted: Wed Jan 21, 2009 9:32 am Post subject: |
|
|
How far is the merb integration (in the daily NB7 builds)?
Thx Clemens |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed Jan 21, 2009 12:08 pm Post subject: Merb support |
|
|
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 |
|
 |
|
|
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
|
|
|
|