From aef06f3b6048c4ba712ec79c0f47a2a59af5dec8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Feb 2005 14:08:38 +0000 Subject: Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/fresh_rakefile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 5e4eea09ce..7de2f06c88 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik] + * Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat] diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index f14fe5f9fc..00086edb0f 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -8,7 +8,7 @@ require File.dirname(__FILE__) + '/config/environment' require 'code_statistics' desc "Run all the tests on a fresh test database" -task :default => [ :clone_structure_to_test, :test_units, :test_functional ] +task :default => [ :test_units, :test_functional ] desc "Generate API documentatio, show coding stats" task :doc => [ :appdoc, :stats ] @@ -20,6 +20,7 @@ Rake::TestTask.new("test_units") { |t| t.pattern = 'test/unit/**/*_test.rb' t.verbose = true } +task :test_units => [ :clone_structure_to_test ] desc "Run the functional tests in test/functional" Rake::TestTask.new("test_functional") { |t| @@ -27,6 +28,7 @@ Rake::TestTask.new("test_functional") { |t| t.pattern = 'test/functional/**/*_test.rb' t.verbose = true } +task :test_functional => [ :clone_structure_to_test ] desc "Generate documentation for the application" Rake::RDocTask.new("appdoc") { |rdoc| -- cgit v1.2.3