-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-switcher.cfg
84 lines (62 loc) · 1.94 KB
/
test-switcher.cfg
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Configuration for test-switcher.vim
#
# Syntax:
# filename_pattern test_filename_pattern
#
# Patterns are tried in order but matches with existing files take precedence.
# over earlier patterns. A '%' metacharacte matches an arbitrary number of
# characters (except /). If used several times, it must match the same string
# in all the occurrences.
#
# A line on its own that contains just 'DEFAULT' inserts all the default
# patterns at that point.
#
#
# Zope 3 style:
# foo.py <-> tests/test_foo.py
# foo.py <-> foo.txt (doctests)
# foo.py --> tests.py (small test suite)
#
# Special case: foo/__init__.py <-> foo/tests/test_foo.py
%/__init__.py %/tests/test_%.py
# The regular case
%.py tests/test_%.py
# Don't remember where I saw these
%.py test/test_%.py
%.py test_%.py
# Doctests. Listed after unittests because those are usually preferable
%.py %.txt
# One-way mappings to a tests module for the entire package.
%.py tests/tests.py
%.py tests.py
#
# Pylons
#
controllers/%.py tests/functional/test_%.py
controllers/%.py tests/test_%.py
lib/%.py tests/test_%.py
model/__init__.py tests/test_models.py
#
# Misc projects
#
# Ivija
resources/%.js tests/test_%.js
# new-mg-website
%-en.html.mako %-lt.html.mako
# zope.tal
input/test%.xml output/test%.xml
input/test%.html output/test%.html
# webtest
webtest/%.py tests/test_%.py
# activity watcher
awatcher.py tests.py
# Fabric
fabric/%.py tests/test_%.py
# check-manifest
check_manifest.py tests.py
# restview
restviewhttp.py tests.py
# vim
%.in %.ok
# This line should be at the end, so that more specific ones override it.
__init__.py tests.py