OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/doc/RUNNING_TESTS

41 lines
870 B

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
FileSystem
----------
gunzip < test/fixtures/repositories/filesystem_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.