-
Notifications
You must be signed in to change notification settings - Fork 298
Expand file tree
/
Copy pathpytest.ini
More file actions
48 lines (41 loc) · 1.08 KB
/
pytest.ini
File metadata and controls
48 lines (41 loc) · 1.08 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
48
[pytest]
# Pytest configuration for student workspace
# This tells pytest to look for tests in the adjacent course folder
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths - look for tests in the course folder
testpaths = ../course
# Output options
addopts =
-v
--tb=short
--strict-markers
--color=yes
-p no:warnings
# Console output formatting
console_output_style = progress
# Inherit markers from the course folder
markers =
exercise0: Exercise 0 tests
exercise1: Exercise 1 tests
exercise2: Exercise 2 tests
exercise3: Exercise 3 tests
exercise4: Exercise 4 tests
set1: Set 1 tests
set2: Set 2 tests
set3: Set 3 tests
set4: Set 4 tests
set5: Set 5 tests
set6: Set 6 tests
set8: Set 8 tests
mock_input: Tests that use mocked input
timeout: Tests with timeout constraints
api_call: Tests that make external API calls
slow: Slow running tests
# Timeout defaults (in seconds)
timeout = 10
timeout_method = thread
# Minimum version
minversion = 7.0