Hi,

On Jul 1, 2009, at 10:41 AM, Daniel Spiewak wrote:

This sounds to me like a different problem than the ones listed in the
issues. For some reason, I looks like RSpec just isn't creating the results
file.

It is possible that it's a different problem, but when I was troubleshooting BUILDR-252, I got that same "no such file or directory ... result.yaml" error:

https://issues.apache.org/jira/browse/BUILDR-252?focusedCommentId=12674277&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel #action_12674277

The underlying cause was BUILDR-254 -- not all of rspec's runtime dependencies were being installed automatically correctly. I managed to work around this on my machine by manually installing cucumber and hoe in jruby:

$ jruby -S gem install cucumber hoe

Each developer on the project would need to do that, though, which is why I monkey patched it as described in BUILDR-254.

Unfortunately, I can't test my rspec-using project on 1.3.4 (to see if this is the same error) because of an unrelated issue (BUILDR-278) in that version.

Rhett


Daniel

On Wed, Jul 1, 2009 at 4:06 AM, dynnamitt <[email protected]> wrote:


More debug info:

$ jruby -S buildr --version
Buildr 1.3.4 (JRuby 1.3.0)

I just found 2 tickets:
https://issues.apache.org/jira/browse/BUILDR-252
https://issues.apache.org/jira/browse/BUILDR-254

Q1) Does this mean that RSpec support is not currently working ??

Q2) Is it back to boring JUnit for me ?

regards
Dynnamitt




dynnamitt wrote:

when running :
$ jruby -S buildr clean compile test --trace
(Ubuntu 9.04)

I get this trace:
"
Finished in 0.051 seconds

0 examples, 0 failures
Test framework error: No such file or directory - File not found -
/java-app/target/spec/result.yaml

/home/kdm/apps/jruby-1.3.0/lib/ruby/gems/1.8/gems/buildr-1.3.4-java/ lib/buildr/java/bdd.rb:108:in
`run'

/home/kdm/apps/jruby-1.3.0/lib/ruby/gems/1.8/gems/buildr-1.3.4-java/ lib/buildr/core/test.rb:446:in
`run_tests'   ......... etc etc etc
"


( I created one simple test spec at location:
src/spec/ruby/jersey/test_spec.rb and it runs OK when using the spec app
directly )

What's up with this "result.yaml" missing in target ??

regards
Dynnamitt



--
View this message in context:
http://www.nabble.com/rspec---%22Test-framework-error%22-tp24285950p24286576.html
Sent from the Buildr - User mailing list archive at Nabble.com.



Reply via email to