From 43244538277d63e2763aaacd087f2a38e0885482 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Fri, 10 May 2013 10:43:46 -0400 Subject: [PATCH] Added option to run acceptance tests without collectstatic --- rakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rakefile b/rakefile index 55ac9ce64d..8da061a4db 100644 --- a/rakefile +++ b/rakefile @@ -271,14 +271,18 @@ end run_tests(system, report_dir, args.stop_on_failure) end + task :fasttest => "fasttest_#{system}" + # Run acceptance tests desc "Run acceptance tests" - task "test_acceptance", [:feature_path] => ["clean_test_files", :predjango, report_dir] do |t, args| + task "test_acceptance", [:feature_path] => ["#{system}:gather_assets:acceptance", "fasttest_acceptance"] + + desc "Run acceptance tests without collectstatic" + task "fasttest_acceptance", [:feature_path] => ["clean_test_files", :predjango, report_dir] do |t, args| args.with_defaults(:feature_path => '') run_acceptance_tests(system, report_dir, args.feature_path) end - task :fasttest => "fasttest_#{system}" TEST_TASK_DIRS << system