Arun Agrawal
0fb0973248
For svn files also spilt required
2011-07-23 13:58:23 +05:30
Arun Agrawal
7d9cf9a846
Spliting the ouput of git ls-files for running tasks Fixes #713
2011-07-23 13:21:36 +05:30
Wen-Tien Chang
db87e48b5e
Add test to rake test for error messages
2011-06-30 00:09:00 +08:00
Wen-Tien Chang
89ad0629e0
Make "rake test" display not only task name but also exception message.
2011-06-29 17:15:55 +08:00
David Calavera
ab2f2b22a6
prevent rake test to run the test suite three times when ENV['TEST'] is set [ #3572 state:resolved]
...
Signed-off-by: Xavier Noria <fxn@hashref.com>
2010-10-10 12:22:40 +02:00
Piotr Sarnacki
f851352318
Added config.app_generators to allow configuring application's generators from railties.
...
With config.generators becomes a way to configure generators
for current instance only. For example:
module Blog
class Engine < Rails::Engine
config.generators do |g|
g.orm :active_record
end
config.app_generators do |g|
g.test_framework :rspec
end
end
end
such definition sets :active_record as orm for engine and :rspec
as test_framework for application. The values set with app_generators
can be overwritten in application using config.generators as you would
normally do:
module MyApp
class Application < Rails::Application
config.generators do |g|
g.test_framework :test_unit
end
end
end
2010-09-30 09:47:06 +02:00
Santiago Pastorino
bb75c33754
Config is deprecated on 1.8.8 and 1.9.3 use RbConfig
2010-08-23 23:10:36 -03:00
Prashant P. Shah
3b44b52fb0
Corrected the rake test:units and test:functionals description [ #5251 state:committed]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-01 22:17:15 -03:00
Xavier Noria
f17159b029
edit pass: the names of Rails components have a space, ie, "Active Record", not "ActiveRecord"
2010-06-14 23:22:04 +02:00
David Heinemeier Hansson
983815632c
Cut down even further on rake -T noise
2010-06-09 17:14:53 -04:00
Anil Wadghule
53c13f1aca
Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [ #4477 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-26 11:12:52 -07:00
José Valim
e461e1bc0e
Ensure application rake tasks and generators are loaded after the ones specified in railties/engines/rails. [ #4471 state:resolved]
2010-04-26 09:36:13 +02:00
Anil Wadghule
518891f490
Use correct RUBY_PLATFORM regex for Windows env [ #4385 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-13 12:39:03 -07:00
Santiago Pastorino
808847792c
db:test:prepare for tasks only if AR is loaded
2010-04-09 16:03:27 +12:00
José Valim
395d6648ce
Move application configuration to the application configuration object, remove railtie_name and engine_name and allow to set the configuration object.
2010-03-26 18:47:55 +01:00
Jeremy Kemper
8afcd33246
Resolve test/unit load ordering by removing backtrace filter from boot initializers
2010-02-11 09:01:52 -08:00
José Valim
518b4ff478
Check if Test::Unit is defined before adding backtrace filter.
2010-02-07 14:51:23 +01:00
José Valim
345e0b274c
Add backtrace cleaner on test unit railtie.
2010-02-07 13:45:47 +01:00
José Valim
24aba77d9c
Only load testing tasks if test unit is being used.
2010-01-29 17:51:06 +01:00
Carl Lerche
252911e378
Cleanup the test_unit generator move into the railtie
2010-01-28 10:17:41 -08:00
Carlhuda
c7c3eac762
Test::Unit Railtie
2010-01-28 09:55:29 -08:00