rspec - "Test framework error"

View: New views
2 Messages — Rating Filter:   Alert me  

rspec - "Test framework error"

by dynnamitt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: rspec - "Test framework error"

by dynnamitt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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