Jean-Philippe Lang
d215cc136c
CI tasks cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-29 17:34:35 +00:00
Jean-Philippe Lang
9c1077841e
Adds first Capybara tests ( #12822 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-26 14:36:02 +00:00
Jean-Philippe Lang
13dced9d76
Run only unit, functional then integration tests for coverage.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 19:04:24 +00:00
Jean-Philippe Lang
55bbfa19b6
Prevent test:scm:setup:* task to overwrite if the test repository already exists.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 21:01:37 +00:00
Jean-Philippe Lang
d996cc0584
Restore scm rake task.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:38 +00:00
Jean-Philippe Lang
fb1a2fd7cd
Resourcified repositories for CRUD operations to prepare for multiple SCM per project ( #779 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Toshi MARUYAMA
b5dd07781c
set "svn:eol-style" native to lib/tasks/testing.rake
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 00:05:29 +00:00
Toshi MARUYAMA
ff1418e2d3
add new rake task "test:rdm_routing" to run test/integration/routing/*_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 00:00:56 +00:00
Jean-Philippe Lang
4ad5182bb2
Exclude gems from test coverage.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 22:42:53 +00:00
Toshi MARUYAMA
98b29b445d
remove trailing white-spaces from lib/tasks/testing.rake.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-14 07:59:31 +00:00
Toshi MARUYAMA
cbcf2bdc79
replace newline LF to CRLF at lib/tasks/testing.rake.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-14 07:59:07 +00:00
Toshi MARUYAMA
6aaf5db1e6
scm: change gunzip to tar -z option for scm repository setup in lib/tasks/testing.rake.
...
Pipe does not work on Mingw Ruby.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 15:30:45 +00:00
Toshi MARUYAMA
331cdbed2f
scm: mercurial: fix r4686 setup mercurial test repository ( #7272 ).
...
If redmine top directory has .hg, "hg clone" synchronizes all revisions to test repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 08:41:11 +00:00
Toshi MARUYAMA
35b9972c81
scm: mercurial: test:scm:setup:mercurial task can be simpler ( #7272 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 04:18:08 +00:00
Jean-Philippe Lang
2cbf60851f
Store the mercurial test repository as a bundle to make it compatible with older hg versions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-10 17:43:01 +00:00
Jean-Philippe Lang
e6118347d3
Adds a rake task test:scm:update to update test repositories if needed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 18:52:37 +00:00
Jean-Philippe Lang
4695754d2a
Fixes task description.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-20 18:24:49 +00:00
Jean-Philippe Lang
339bcc97e0
Adds tasks to run scm tests: test:scm:units, test:scm:functionals and test:scm.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-20 18:24:24 +00:00
Jean-Philippe Lang
ded602c89f
Run all tests for coverage.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 13:43:31 +00:00
Jean-Philippe Lang
54e37b12fd
Add test:coverage task.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-06 19:39:51 +00:00
Eric Davis
26bbad5f23
Switch from a custom rcov task to the metric_fu gem.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-27 00:55:43 +00:00
Eric Davis
17d455c72f
Codified instructions from RUNNING_TESTS as rake tasks for convenience
...
Rake tasks are in testing.rake and can be run by `rake test:scm:setup:<scm>`
Updated RUNNING_TESTS
Contributed by Gerrit Kaiser
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-12 04:44:01 +00:00
Jean-Philippe Lang
53078ca949
No warning about rcov each time a rake task is ran.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-15 18:44:46 +00:00
Eric Davis
910988133d
Extracted rcov options and removed gems from the rcov report.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 04:20:23 +00:00
Eric Davis
fab5c1fdef
Added rake tasks to generate rcov code coverage reports. rake -T test:coverage to see them all
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 04:20:16 +00:00