-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (31 loc) · 887 Bytes
/
tox.ini
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
[tox]
envlist = py310,py311,py312,py313
skipsdist = True
[testenv]
commands =
python -m pip install .[test]
python -m pytest --verbose --cov=gearpy --cov-report=html -nauto
[pytest]
python_files = test_*
python_classes = Test*
python_functions = test_*
testpaths = tests
markers =
rotating_object: RotatingObject tests
slave: Slave rotating object tests
gear: Gear object tests
spur_gear: SpurGear tests
helical_gear: HelicalGear tests
dc_motor: DCMotor tests
flywheel: Flywheel tests
worm_gear: WormGear tests
worm_wheel: WormWheel tests
sensors: Sensors tests
rules: Motor control rules tests
motor_control: Motor control tests
solver: Solver tests
powertrain: Powertrain tests
units: Units tests
utils: Utilities functions tests
genuine: Genuine method tests with no errors
error: Error-raising tests