require File.join(File.dirname(__FILE__), "test_helper.rb") require '<%= bin_name %>/cli' class Test<%= module_name %>Cli < Test::Unit::TestCase def setup @stdout_io = StringIO.new <%= module_name %>::CLI.execute(@stdout_io, []) @stdout_io.rewind @stdout = @stdout_io.read end def test_not_print_default_output assert_no_match(/To update this executable/, @stdout) end end