-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpytest.ini
More file actions
22 lines (20 loc) · 907 Bytes
/
Copy pathpytest.ini
File metadata and controls
22 lines (20 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Exclude source code directories from test collection
norecursedirs = .git .tox dist build *.egg venv scrapfly examples
markers =
unit: Unit tests that don't require API calls
integration: Integration tests that require API access
e2e: End-to-end tests that drive the live Scrapfly product through the SDK.
Deliberate: the SDK is the supported client, so exercising the platform
through it is what customers actually experience. They need SCRAPFLY_KEY
(and SCRAPFLY_API_HOST) and are skipped without them.
slow: Tests that take a long time to run
artifacts: Tests for WARC/HAR artifact parsing
async: Tests for async functionality
config: Tests for configuration objects
workflow: Tests for complete workflows
errors: Tests for error handling