tasks/unit_test.rake in quickl-0.2.2 vs tasks/unit_test.rake in quickl-0.3.0
- old
+ new
@@ -43,11 +43,11 @@
# Request that the tests be run with the warning flag set.
# E.g. warning=true implies "ruby -w" used to run the tests.
t.warning = false
# Glob pattern to match test files. (default is 'test/test*.rb')
- t.pattern = "examples/**/*_test.rb"
+ t.pattern = "examples/**/test_*.rb"
# Style of test loader to use. Options are:
#
# * :rake -- Rake provided test loading script (default).
# * :testrb -- Ruby provided test loading script.
@@ -55,10 +55,10 @@
#
t.loader = :rake
# Array of commandline options to pass to ruby when running test
# loader.
- t.ruby_opts = []
+ t.ruby_opts = ["-w"]
# Explicitly define the list of test files to be included in a
# test. +list+ is expected to be an array of file names (a
# FileList is acceptable). If both +pattern+ and +test_files+ are
# used, then the list of test files is the union of the two.