2007-12-03 22:19:36 +03:00
|
|
|
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
|
|
|
|
|
2007-12-13 21:52:09 +03:00
|
|
|
CVS
|
|
|
|
---
|
|
|
|
gunzip < test/fixtures/repositories/cvs_repository.tar.gz | tar -xv -C tmp/test
|
|
|
|
|
2007-12-03 22:19:36 +03:00
|
|
|
Bazaar
|
|
|
|
------
|
2007-12-14 20:46:45 +03:00
|
|
|
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
|
2008-03-12 23:28:49 +03:00
|
|
|
|
|
|
|
Git
|
|
|
|
---
|
|
|
|
gunzip < test/fixtures/repositories/git_repository.tar.gz | tar -xv -C tmp/test
|
|
|
|
|
2008-08-25 18:33:30 +04:00
|
|
|
Darcs (2.0+ required)
|
|
|
|
---------------------
|
2008-08-13 07:54:54 +04:00
|
|
|
gunzip < test/fixtures/repositories/darcs_repository.tar.gz | tar -xv -C tmp/test
|
|
|
|
|
2008-06-08 19:40:24 +04:00
|
|
|
FileSystem
|
|
|
|
----------
|
|
|
|
gunzip < test/fixtures/repositories/filesystem_repository.tar.gz | tar -xv -C tmp/test
|
|
|
|
|
2008-03-12 23:28:49 +03:00
|
|
|
|
|
|
|
Running Tests
|
|
|
|
=============
|
|
|
|
|
|
|
|
Run
|
|
|
|
|
|
|
|
rake --tasks | grep test
|
|
|
|
|
|
|
|
to see available tests.
|
|
|
|
|
|
|
|
RAILS_ENV=test rake test will run tests.
|
2008-09-30 04:02:46 +04:00
|
|
|
|