sam / doubleshot

Build and Dependency Management for mixed Java/Ruby projects.
MIT License
19 stars 22 forks source link

Error testing during Build for projects without Tests #41

Closed sam closed 12 years ago

sam commented 12 years ago
 --- Running all tests ---

uninitialized constant MiniTest
org/jruby/RubyModule.java:2678:in `const_missing'
all-specs:3:in `(root)'
all-specs:1:in `'
:1:in `'
org/jruby/RubyKernel.java:1045:in `load'
/Users/sam/.rvm/gems/jruby-1.7.0.RC2/bin/doubleshot:23:in `(root)'

We need to check that there are actually any files in config.source.tests before attempting to run the tests during build.

That should probably happen in Doubleshot::CLI::Commands::Test#initialize.

Related Issue: #40

sam commented 12 years ago

BTW, I ran into this when running doubleshot jar in the hello_ruby_world example.