forked from edavis10/redmine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,16 @@ | ||
Creating test repositories | ||
=================== | ||
|
||
mkdir tmp/test | ||
|
||
Subversion | ||
---------- | ||
svnadmin create tmp/test/subversion_repository | ||
gunzip < test/fixtures/repositories/subversion_repository.dump.gz | svnadmin load tmp/test/subversion_repository | ||
|
||
CVS | ||
--- | ||
gunzip < test/fixtures/repositories/cvs_repository.tar.gz | tar -xv -C tmp/test | ||
|
||
Bazaar | ||
------ | ||
gunzip < test/fixtures/repositories/bazaar_repository.tar.gz | tar -xv -C tmp/test | ||
|
||
Mercurial | ||
--------- | ||
gunzip < test/fixtures/repositories/mercurial_repository.tar.gz | tar -xv -C tmp/test | ||
|
||
Git | ||
--- | ||
gunzip < test/fixtures/repositories/git_repository.tar.gz | tar -xv -C tmp/test | ||
|
||
Darcs (2.0+ required) | ||
--------------------- | ||
gunzip < test/fixtures/repositories/darcs_repository.tar.gz | tar -xv -C tmp/test | ||
|
||
FileSystem | ||
---------- | ||
gunzip < test/fixtures/repositories/filesystem_repository.tar.gz | tar -xv -C tmp/test | ||
|
||
|
||
Running Tests | ||
============= | ||
|
||
Run | ||
Run `rake --tasks test` to see available tests. | ||
`rake test` will run the entire testsuite. | ||
|
||
rake --tasks | grep test | ||
|
||
to see available tests. | ||
Creating test repositories | ||
=================== | ||
|
||
Redmine supports a wide array of different version control systems. | ||
To test the support, a test repository needs to be created for each of those. | ||
|
||
RAILS_ENV=test rake test will run tests. | ||
Run `rake --tasks test:scm:setup` for a list of available test-repositories or | ||
run `rake test:scm:setup:all` to set up all of them | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters