Files
Redmine/git/doc/RUNNING_TESTS
Jean-Philippe Lang a834312a3e Git patch added (#259) with annotate support. Changeset revision field changed to string.
TODO:
* fix Darcs support and add tests for Darcs
* maybe remove scmid column by moving commit hashes to Changeset#revision for all DSCM

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-07 16:27:46 +00:00

38 lines
760 B
Plaintext

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
Running Tests
=============
Run
rake --tasks | grep test
to see available tests.
RAILS_ENV=test rake test will run tests.