#362: Add Unit Testing and Embed MacRuby to Project Template ---------------------------------+------------------------------------------ Reporter: dy...@… | Owner: eloy.de.en...@… Type: enhancement | Status: new Priority: trivial | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------
Comment(by eloy.de.en...@…): So, I was gonna apply it as Laurent already tried it and said it worked great, but I'd first like to run some stuff by you: How about changing the test_suite.rb file to run_suite.rb, move it into the Tests dir and use glob like: {{{ Dir.glob(File.expand_path('../**/*_test.rb', __FILE__)).each { |test| require test } }}} And rename the test_stub.rb to stub_test.rb. So invoking the complete suite would be: $ ruby Tests/run_suite.rb Thoughts? -- Ticket URL: <http://www.macruby.org/trac/ticket/362#comment:6> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel