public
Description: Redmine is a flexible project management web application written using Ruby on Rails framework. This is the official git mirror of the svn repository
Homepage: http://www.redmine.org
Clone URL: git://github.com/edavis10/redmine.git
redmine / doc / RUNNING_TESTS
100644 47 lines (31 sloc) 0.998 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
 
  rake --tasks | grep test
 
to see available tests.
 
RAILS_ENV=test rake test will run tests.