tasks/unit_test.rake in quickl-0.4.1 vs tasks/unit_test.rake in quickl-0.4.2

- old
+ new

@@ -1,29 +1,29 @@ # Installs a rake task for for running unit tests. # -# This file installs the 'rake unit_test' and extends 'rake test' to run unit -# tests, if any. It is automatically generated by Noe from your .noespec file, -# and should therefore be configured there, under the variables/rake_tasks/unit_test +# This file installs the 'rake unit_test' and extends 'rake test' to run unit +# tests, if any. It is automatically generated by Noe from your .noespec file, +# and should therefore be configured there, under the variables/rake_tasks/unit_test # entry, as illustrated below: # # variables: # rake_tasks: # unit_test: # pattern: test/test*.rb # verbose: false # warning: false # ... # -# If you have specific needs requiring manual intervention on this file, +# If you have specific needs requiring manual intervention on this file, # don't forget to set safe-override to false in your noe specification: -# +# # template-info: # manifest: # tasks/unit_test.rake: # safe-override: false # -# More info about the TestTask and its options can be found on +# More info about the TestTask and its options can be found on # http://rake.rubyforge.org/classes/Rake/TestTask.html # begin require 'rake/testtask' desc "Run unit tests" @@ -34,11 +34,11 @@ t.libs = ["lib", "examples"] # True if verbose test output desired. (default is false) t.verbose = false - # Test options passed to the test suite. An explicit TESTOPTS=opts + # Test options passed to the test suite. An explicit TESTOPTS=opts # on the command line will override this. (default is NONE) t.options = nil # Request that the tests be run with the warning flag set. # E.g. warning=true implies "ruby -w" used to run the tests. @@ -50,14 +50,14 @@ # Style of test loader to use. Options are: # # * :rake -- Rake provided test loading script (default). # * :testrb -- Ruby provided test loading script. # * :direct -- Load tests using command line loader. - # + # t.loader = :rake - # Array of commandline options to pass to ruby when running test + # Array of commandline options to pass to ruby when running test # loader. t.ruby_opts = [] # Explicitly define the list of test files to be included in a # test. +list+ is expected to be an array of file names (a @@ -72,6 +72,5 @@ end ensure desc "Run all tests" task :test => [:unit_test] end -