Commit Graph

19 Commits

Author SHA1 Message Date
Jeremy Kemper
d54a1564a1 Don't raise superfluous exception on test failure.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-11 05:19:15 +00:00
Jeremy Kemper
8dfe5b78fa Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-06 09:22:07 +00:00
Michael Koziarski
89cb34c9cf Stop swallowing errors during rake test [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-20 03:15:26 +00:00
Jeremy Kemper
aa7859c976 Plugins may be symlinked in vendor/plugins. Closes #4245.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-01 20:12:36 +00:00
David Heinemeier Hansson
ccd32adeca Fixed test:uncommitted on Windows (backslash issue) (closes #4999) [paul@paulbutcher.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:23:03 +00:00
David Heinemeier Hansson
d48322ecca Proper description syntax for test tasks (closes #5308)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-05 15:35:50 +00:00
Jeremy Kemper
942132bda2 rake test:recent understands subdirectories. Closes #2925.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-12 04:41:23 +00:00
David Heinemeier Hansson
f1a350a05c Testing of uncommited should test controllers too (closes #4265) [technomancy@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 06:47:46 +00:00
Nicholas Seckar
c07c48d10a Delay rake:uncommitted's execution of svn status
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 03:21:09 +00:00
David Heinemeier Hansson
bfaf71cbc2 We need to silence_stderr on the call to svn in order not to get errors when svn is not available or the app is not checked in
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 18:04:55 +00:00
David Heinemeier Hansson
8fdb4bc8f6 Added test:uncommitted to test changes since last checkin to Subversion (closes #4035) [technomancy@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-02 00:17:53 +00:00
Jamis Buck
1a91abe645 Add integration test support to app generation and testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 18:57:32 +00:00
David Heinemeier Hansson
4df3554e8f Include functionals in default test run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 05:20:48 +00:00
David Heinemeier Hansson
985cb44110 Added namespaces to all tasks, so for example load_fixtures is now db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 04:38:39 +00:00
Jeremy Kemper
927b847239 Add Rakefile to plugin generator. Let test_plugins rake task look deeper into plugins' test dirs. Make plugin test cases flunk by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:28:09 +00:00
David Heinemeier Hansson
b7a2973f71 Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 19:52:28 +00:00
David Heinemeier Hansson
c45ea78c6a Cleaned it up a bit.. Dependencies can be declared inline
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:55:05 +00:00
Sam Stephenson
24c3599cc0 Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 04:12:32 +00:00
David Heinemeier Hansson
bc011df210 Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:13:06 +00:00