##// END OF EJS Templates
Added missing documentation for setting up the Darcs test repository....
Eric Davis -
r1742:ca2449d9cfab
parent child
Show More
@@ -1,41 +1,45
1 Creating test repositories
1 Creating test repositories
2 ===================
2 ===================
3
3
4 mkdir tmp/test
4 mkdir tmp/test
5
5
6 Subversion
6 Subversion
7 ----------
7 ----------
8 svnadmin create tmp/test/subversion_repository
8 svnadmin create tmp/test/subversion_repository
9 gunzip < test/fixtures/repositories/subversion_repository.dump.gz | svnadmin load tmp/test/subversion_repository
9 gunzip < test/fixtures/repositories/subversion_repository.dump.gz | svnadmin load tmp/test/subversion_repository
10
10
11 CVS
11 CVS
12 ---
12 ---
13 gunzip < test/fixtures/repositories/cvs_repository.tar.gz | tar -xv -C tmp/test
13 gunzip < test/fixtures/repositories/cvs_repository.tar.gz | tar -xv -C tmp/test
14
14
15 Bazaar
15 Bazaar
16 ------
16 ------
17 gunzip < test/fixtures/repositories/bazaar_repository.tar.gz | tar -xv -C tmp/test
17 gunzip < test/fixtures/repositories/bazaar_repository.tar.gz | tar -xv -C tmp/test
18
18
19 Mercurial
19 Mercurial
20 ---------
20 ---------
21 gunzip < test/fixtures/repositories/mercurial_repository.tar.gz | tar -xv -C tmp/test
21 gunzip < test/fixtures/repositories/mercurial_repository.tar.gz | tar -xv -C tmp/test
22
22
23 Git
23 Git
24 ---
24 ---
25 gunzip < test/fixtures/repositories/git_repository.tar.gz | tar -xv -C tmp/test
25 gunzip < test/fixtures/repositories/git_repository.tar.gz | tar -xv -C tmp/test
26
26
27 Darcs
28 -----
29 gunzip < test/fixtures/repositories/darcs_repository.tar.gz | tar -xv -C tmp/test
30
27 FileSystem
31 FileSystem
28 ----------
32 ----------
29 gunzip < test/fixtures/repositories/filesystem_repository.tar.gz | tar -xv -C tmp/test
33 gunzip < test/fixtures/repositories/filesystem_repository.tar.gz | tar -xv -C tmp/test
30
34
31
35
32 Running Tests
36 Running Tests
33 =============
37 =============
34
38
35 Run
39 Run
36
40
37 rake --tasks | grep test
41 rake --tasks | grep test
38
42
39 to see available tests.
43 to see available tests.
40
44
41 RAILS_ENV=test rake test will run tests.
45 RAILS_ENV=test rake test will run tests.
General Comments 0
You need to be logged in to leave comments. Login now