Robin Dupret
1fac7b79f3
Follow up to #16613
...
Since we want this flag to be enabled anytime we are running the tests
under JRuby, let's enable this at the Rakefile level so people get the
performance boost on their local checkout.
Moreover, we avoid having to update this particular line anytime the
option changes on the JRuby side.
The only drawback is that we have to define it in every Rakefile but
there's no big deal, this is already the case for other options.
2014-09-28 12:04:06 +02:00
Matthew Draper
7025d7769d
For now, we will keep sorting the tests.
...
This reverts commits e969c928463e329fd6529ac59cad96385c538ffb and
bd2b3fbe54e750ba97469a7896e8d143d6dfd465.
2014-09-05 23:33:27 +09:30
Akira Matsuda
bd2b3fbe54
No need to sort tests
...
Dir.glob result must be already sorted anyway
2014-08-28 14:41:00 +09:00
Benjamin Fleischer
91d199259b
Encapsulate rake lines from ActiveRecord/ActionPack as CodeTools::LineStatistics
...
[ci skip]
2014-07-25 13:41:18 -05:00
Arun Agrawal
da4d841e16
Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]
2014-05-16 23:09:05 +02:00
Arun Agrawal
0fcc1f9a61
Remove code related to adapter which are no longer in repo
...
As we have remove code for these adapters so no need to have tasks
2014-05-16 18:17:25 +02:00
Yves Senn
09cfa3fa8a
rake, remove frontbase related tasks from Active Record Rakefile.
2014-05-14 21:25:52 +02:00
Yves Senn
b231825f3e
Revert "Merge pull request #14940 from arunagw/hbakhtiyor-test-db-namespaces-ar"
...
This reverts commit fe9859600824268ff614cb3eb48b62c7165a1fbd, reversing
changes made to add9560643ef79830febf47fa1228752d1df3502.
2014-05-03 20:08:15 +02:00
Arun Agrawal
2de846852a
Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]
2014-05-03 19:34:18 +02:00
Carlos Antonio da Silva
ea76386493
Add description for db:create and db:drop test tasks in AR
...
This will help identify these tasks exists, since they are easier to
setup things for running all AR tests.
2013-11-17 14:25:55 -02:00
Arun Agrawal
f52832de2a
grab executable from rubygems
...
As done here d7fc97d3f90c0e30865d32ce202658f03248cacc
2013-07-26 11:07:25 +02:00
Vipul A M
1235b630fe
Cleanup task for informing about hstore
2013-07-25 01:11:41 +05:30
Carlos Antonio da Silva
f02d4ddc99
Merge pull request #11046 from arunagw/verbose_mode_on
...
Verbose mode on when running tests
2013-06-25 15:15:43 -07:00
Arun Agrawal
d88b390dfd
Adding verbose in isolated test.
2013-06-21 14:14:36 +02:00
Arun Agrawal
67f668845e
Saying gemcutter => rubygems [ci skip]
2013-06-21 11:04:52 +02:00
Arun Agrawal
a84a08ecea
No need to load 'rake/packagetask' as it's already
...
in 'rubygems/package_task'
2013-06-02 20:41:21 +02:00
kennyj
91c4d0b1e7
Remove unnecessary code, because this extension is created on demand in hstore_test.rb.
2013-05-15 12:47:49 +09:00
Ranjay Krishna
3e74012d66
added db:drop task that executes mysql:drop_databses and postgresql:drop_databases
2013-01-20 11:00:26 -08:00
Ranjay Krishna
e470ebfe4f
removed the puts statement and simplified the execute statement
2013-01-20 09:48:55 -08:00
Ranjay Krishna
9f789364b2
added rake db:create that executes mysql:build_databases and postgresql:build_databases
2013-01-20 09:41:49 -08:00
Bobby Wilson
bd77fff427
use template0 option for creating activerecord test databases in postgres build_database task
2012-08-19 20:05:15 -06:00
kennyj
34492af710
Create hstore extension when building PostgreSQL databases.
2012-06-12 19:34:24 +09:00
Roman V. Babenko
84feca4aaa
Rakefile executable attributes and shebang lines has been removed
2012-05-02 13:38:13 +03:00
Arun Agrawal
bfb84cfb3e
Verbose output for tests.
...
See #3892
2012-02-03 08:01:24 -05:00
Arun Agrawal
1d3bc506f4
No verbose the output for tests.
2012-02-01 07:21:38 -05:00
Nathan Broadbent
bf928bc732
Use block form of 'File.open' so that File object is auto closed at end
2012-01-30 03:15:51 +08:00
Nathan Broadbent
b31eac5609
Replaced all 'for' loops with Enumerable#each
2012-01-30 03:15:49 +08:00
Aaron Patterson
80451a1fa6
make sure AR isolated tests set the environment variable
2011-06-06 18:01:45 -07:00
Aaron Patterson
cd27cd5e49
oops! add parens so the block is properly bound
2011-06-06 17:00:08 -07:00
Aaron Patterson
8392f10b58
set the environment variable from the rake file
2011-06-06 16:51:45 -07:00
Aaron Patterson
c8d124c0fc
add test to the include path
2011-06-06 15:47:17 -07:00
Jon Leighton
499dec0102
Make sure that the build/drop database rake tasks take account of the test/config.yml config
2011-06-06 21:27:28 +01:00
Jon Leighton
253bb6b926
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
2011-06-04 23:47:03 +01:00
Vijay Dev
79e9a2983a
fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0
2011-05-24 23:39:24 +05:30
Aaron Patterson
2947197421
use rake to create test databases for us
2011-01-14 14:07:16 -08:00
Santiago Pastorino
9a57a2279e
sorry, the CI cannot lie to us anymore (Part II)
2011-01-13 10:55:41 -02:00
Jon Leighton
c47c541402
Have a separate test connection directory for sqlite3 in-memory so that the tests can be run without having to specifically rename the connection file (which then causes git to pick up the changes)
2011-01-11 13:45:06 -08:00
raggi
cb1570936d
Rakefiles are executables, and rake loads rake, not rakefile code
2010-11-25 06:49:55 +08:00
Greg Hazel
3f49456f5b
remove use of echo [ #4410 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-02 11:50:38 +02:00
Xavier Noria
43291469cb
deletes the rdoc task of each component, they are no longer published separately
2010-08-20 13:30:31 +02:00
Santiago Pastorino
cad8bef5ea
Bump up rdoc to 2.5.10
2010-08-18 11:44:12 -03:00
Brian Lopez
21e81da335
update tests for mysql2 support
2010-08-02 01:37:57 -07:00
Xavier Noria
dcb7832ed5
APIs for individual components are no longer published
2010-07-26 00:05:14 +02:00
Aaron Patterson
b50635a59f
update Rakefiles for RDoc 2.5
2010-07-23 21:11:29 +02:00
Santiago Pastorino
b378b19430
Makes Rakefile activate rdoc >= 2.5.9
...
Signed-off-by: Xavier Noria <fxn@hashref.com>
2010-07-23 00:04:06 +02:00
José Valim
508fba9e07
Add .rdoc extension to README files.
2010-07-21 12:51:14 +02:00
Santiago Pastorino
ab96c71a52
Add this rule to run common tests and specifics ones from adapters dir
2010-06-27 21:20:53 -07:00
Aaron Patterson
5e2b473b47
reorganizing adapter specific tests. [ #4974 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-06-25 14:47:14 -07:00
Xavier Noria
2aa4e5f3fa
pdoc tasks publishe APIs in api.rubyonrails.org
2010-06-16 22:39:13 +02:00
Xavier Noria
01f3f0dbae
use RDoc 2.2 to generate the documentation of individual components
2010-06-16 22:30:06 +02:00