-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.cfg
40 lines (32 loc) · 1.24 KB
/
setup.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
[pytest]
norecursedirs = requirements build docs/_build *.egg .tox *.venv
addopts =
# Shows a line for every test
# You probably want to turn this off if you use pytest-sugar.
# Or you can keep it and run `py.test -q`.
--verbose
# Shorter tracebacks are sometimes easier to read
# --tb=short
# Turn on --capture to have brief, less noisy output.
# You will only see output if the test fails.
# Use --capture no (same as -s) if you want to see it all or have problems
# debugging.
# --capture=fd
# --capture=no
# Show extra test summary info as specified by chars (f)ailed, (E)error,
# (s)skipped, (x)failed, (X)passed.
-rfEsxX
# Output test results to junit.xml for Jenkins to consume
--junitxml=junit.xml
# FIXME: This is commented out for now while doing TDD
# Measure code coverage
--cov=bulby --cov-report=xml --cov-report=term-missing
# Previous versions included the following, but it's a bad idea because it
# hard-codes the value and makes it hard to change from the command-line
# tests/
markers =
unit: mark a test as a unit test.
function: mark a test as a function test (requires bridge).
[nosetests]
# Don't use nosetests
# Please use py.test!