#509 open
Dr Nic

Running tests via Alt+Cmd+T on plugins' specs shows error

Reported by Dr Nic | April 23rd, 2011 @ 11:57 PM

When I attempt to Run Tests (Alt+Cmd+T on os x) on plugins/project/spec/project/file_list_spec.rb (or similar spec files within a plugin) I get the error message shown in the attached image.

Any thoughts on what I'm doing wrong? The tests look like they are written to be standalone.

Comments and changes to this ticket

  • Dr Nic

    Dr Nic April 24th, 2011 @ 12:07 AM

    Running the same spec from the command line (following the README instructions) works:

    {{{

    $ jruby -J-XstartOnFirstThread -S spec plugins/project/spec/project/file_list_spec.rb Redcar 0.12.0dev ( java )
    ...........

    Finished in 3.069 seconds

    11 examples, 0 failures
    }}}

  • Dr Nic

    Dr Nic April 24th, 2011 @ 12:07 AM

    
    $ jruby -J-XstartOnFirstThread -S spec plugins/project/spec/project/file_list_spec.rb
    Redcar 0.12.0dev ( java )
    ...........
    
    Finished in 3.069 seconds
    
    11 examples, 0 failures
    
  • Daniel Lucraft

    Daniel Lucraft May 5th, 2011 @ 10:52 PM

    • State changed from “new” to “open”

    The bug that caused nothing to get run at all is fixed here:
    https://github.com/danlucraft/redcar/commit/0bc9e3fa573f6cda35c07ae...
    (You'll have to clear the test_runner.yaml in .redcar/storage for it to take effect)

    However the tests still don't work through the test_runner plugin, as the redcar environment doesn't load properly for some reason. So I'll leave this bug open for now.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages