-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-tests.cfg
More file actions
47 lines (37 loc) · 1.25 KB
/
python-tests.cfg
File metadata and controls
47 lines (37 loc) · 1.25 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
# Configuration for ~/.vim/plugin/py-test-switcher.vim
# Well for the Python version of it actually.
#
# Syntax:
# filename_pattern test_filename_pattern
#
# Patterns are tried in order but matches with existing files take precedence.
# over earlier patterns.
#
# 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
# Don't remember why this was necessary. For the backwards mapping?
__init__.py tests.py
# Ivija
resources/%.js tests/test_%.js
# zope.tal
input/test%.xml output/test%.xml
input/test%.html output/test%.html