diff --git a/test/test_all_hashes.rb b/test/all_hashes_test.rb similarity index 100% rename from test/test_all_hashes.rb rename to test/all_hashes_test.rb diff --git a/test/gc_benchmark.rb b/test/gc_benchmark_test.rb similarity index 100% rename from test/gc_benchmark.rb rename to test/gc_benchmark_test.rb diff --git a/test/test_many_requests.rb b/test/many_requests_test.rb similarity index 100% rename from test/test_many_requests.rb rename to test/many_requests_test.rb diff --git a/test/test_parsing_while_response_is_being_read.rb b/test/query_with_result_false_test.rb similarity index 100% rename from test/test_parsing_while_response_is_being_read.rb rename to test/query_with_result_false_test.rb diff --git a/test/test_all.rb b/test/test_all.rb new file mode 100644 index 0000000..8619756 --- /dev/null +++ b/test/test_all.rb @@ -0,0 +1,9 @@ +# I suppose if all the tests don't blow up, that probably means pass +require 'mysqlplus' +for file in Dir.glob('*_test.rb') do + puts 'testing ' + file + "\n\n\n\n\n" + # fork so we don't run out of connections to the mysql db, as few tests ever clean up their old processes + pid = Process.fork { load file } + Process.wait(pid) +end +puts 'successful' diff --git a/test/test_threaded_sequel.rb b/test/threaded_sequel_test.rb similarity index 100% rename from test/test_threaded_sequel.rb rename to test/threaded_sequel_test.rb