Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add place-holder test programs #96

Open
wants to merge 58 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
fe24210
add place-holder Test-MotorGroup-count RobotMesh programs
TheVinhLuong102 Jul 5, 2023
a18fff6
add place-holder Test-MotorGroup-current RobotMesh programs
TheVinhLuong102 Jul 5, 2023
2fa8637
add place-holder test/IQ/Gen1/RobotMesh/PyB/Motor/Test-Motor-__init__…
TheVinhLuong102 Jul 5, 2023
090556e
add place-holder Test-Motor-current programs
TheVinhLuong102 Jul 5, 2023
3117ddd
add place-holder Test-Drivetrain-current RobotMesh programs
TheVinhLuong102 Jul 5, 2023
fe8d473
add place-holder Test-Smartdrive-current RobotMesh programs
TheVinhLuong102 Jul 5, 2023
e46482c
add place-holder Test-Smartdrive-__init__ RobotMesh programs
TheVinhLuong102 Jul 5, 2023
c14bf4b
add place-holder Test-Drivetrain-__init__ RobotMesh programs
TheVinhLuong102 Jul 5, 2023
c7e52ad
add place-holder Test-MotorGroup-__init__ RobotMesh programs
TheVinhLuong102 Jul 5, 2023
0a68107
add place-holder Test-Motor-set-reversed RobotMesh programs
TheVinhLuong102 Jul 5, 2023
0557564
add place-holder Test-Motor-set-velocity RobotMesh programs
TheVinhLuong102 Jul 5, 2023
9f0a1dc
add place-holder Test-MotorGroup-set-velocity RobotMesh programs
TheVinhLuong102 Jul 5, 2023
4e7eed1
add place-holder Test-Drivetrain-set-velocity RobotMesh programs
TheVinhLuong102 Jul 5, 2023
433e570
add place-holder Test-Drivetrain-set-stopping RobotMesh programs
TheVinhLuong102 Jul 5, 2023
ca75564
add place-holder IQ/Gen2/VEXcode/Touch-LED/Test-Touchled IQ.Gen2.VEXc…
TheVinhLuong102 Jul 5, 2023
50c3006
add place-holder IQ/Gen2/VEXcode/SmartDrive/Test-SmartDrive IQ.Gen2.V…
TheVinhLuong102 Jul 5, 2023
76aa13c
add place-holder IQ/Gen2/VEXcode/Optical-Sensor/Test-Optical IQ.Gen2.…
TheVinhLuong102 Jul 5, 2023
05326a9
add place-holder IQ/Gen2/VEXcode/Motor-Group/Test-MotorGroup IQ.Gen2.…
TheVinhLuong102 Jul 6, 2023
dd9b310
add place-holder IQ/Gen2/VEXcode/Motor/Test-Motor IQ.Gen2.VEXcode pro…
TheVinhLuong102 Jul 6, 2023
28d42b7
add place-holder IQ/Gen2/VEXcode/Gyro-Sensor/Test-Gyro IQ.Gen2.VEXcod…
TheVinhLuong102 Jul 6, 2023
33bd788
add place-holder test/IQ/Gen2/VEXcode/DriveTrain/Test-DriveTrain IQ.G…
TheVinhLuong102 Jul 6, 2023
8d12dba
add place-holder test/IQ/Gen2/VEXcode/Distance-Sensor|Sonar/Test-Dist…
TheVinhLuong102 Jul 6, 2023
ccc229f
add place-holder IQ/Gen2/VEXcode/Controller/Test-Controller-__init__.…
TheVinhLuong102 Jul 6, 2023
5f5a393
add place-holder IQ/Gen2/VEXcode/Bumper-Switch-Sensor/Test-Bumper-__i…
TheVinhLuong102 Jul 6, 2023
7f648da
add test/IQ/Gen2/VEXcode/Color-Sensor/Test-ColorSensor IQ.Gen2.VEXcod…
TheVinhLuong102 Jul 6, 2023
04c9978
add place-holder test/IQ/Gen2/VEXcode/Brain/Timer/Test-Brain-timer-ev…
TheVinhLuong102 Jul 6, 2023
7716a1f
add test/IQ/Gen2/VEXcode/Brain/Speaker/Test-Brain-play IQ.Gen2/VEXcod…
TheVinhLuong102 Jul 6, 2023
fb65a41
add place-holder test/IQ/Gen2/VEXcode/Brain/Screen/Test-Brain-screen …
TheVinhLuong102 Jul 6, 2023
b1dc2ef
add place-holder test/IQ/Gen2/VEXcode/Brain/Inertial/Test-Inertial IQ…
TheVinhLuong102 Jul 6, 2023
2613ba0
add test/IQ/Gen2/VEXcode/Test-wait.IQ.Gen2.VEXcode programs
TheVinhLuong102 Jul 6, 2023
48d8044
add test/IQ/Gen2/VEXcode/Brain/Battery/Test-Brain-battery-capacity.IQ…
TheVinhLuong102 Jul 6, 2023
84e81e1
update PyTest configs
TheVinhLuong102 Jul 6, 2023
28b8a58
add test/V5/RobotMesh/Motor/Test-Motor-voltage.V5.RobotMesh program
TheVinhLuong102 Jul 6, 2023
02c3575
add test/V5/RobotMesh/Motor/Test-Motor-power.V5.RobotMesh program
TheVinhLuong102 Jul 6, 2023
0626cbc
add test/V5/RobotMesh/Motor-Group/Test-MotorGroup-power.V5.RobotMesh …
TheVinhLuong102 Jul 6, 2023
c96e755
add test/V5/RobotMeshg/Drivetrain/Test-Drivetrain-power.V5.RobotMesh …
TheVinhLuong102 Jul 6, 2023
7d861da
add test/V5/RobotMesh/Smartdrive/Test-Smartdrive-power.V5.RobotMesh p…
TheVinhLuong102 Jul 6, 2023
ddb69b8
add place-holder test timeout programs
TheVinhLuong102 Jul 6, 2023
e0a6d97
add place-holder test did-timeout programs
TheVinhLuong102 Jul 6, 2023
42541ed
add place-holder test is-spinning programs
TheVinhLuong102 Jul 6, 2023
336fa85
add place-holder test is-done programs
TheVinhLuong102 Jul 6, 2023
4f85d1d
add test Motor(Group)-direction V5.RobotMesh programs
TheVinhLuong102 Jul 6, 2023
d87421a
add test Motor(Group)-rotation RobotMesh programs
TheVinhLuong102 Jul 6, 2023
0ac04d6
add test velocity RobotMesh programs
TheVinhLuong102 Jul 6, 2023
e275d9b
add place-holder Smartdrive test programs (RobotMesh)
TheVinhLuong102 Jul 6, 2023
ac689af
add place-holder Drivetrain(-start)-turn-for test programs (RobotMesh)
TheVinhLuong102 Jul 6, 2023
3a77999
add place-holder Drivetrain/Smartdrive-turn RobotMesh test programs
TheVinhLuong102 Jul 6, 2023
bc44ce0
add place-holder Drivetrain/Smartdrive(-start)-drive(-for) RobotMesh …
TheVinhLuong102 Jul 6, 2023
1a506e9
add place-holder Drivetrain/Smartdrive-drive-for RobotMesh test programs
TheVinhLuong102 Jul 6, 2023
264bb38
add place-holder Motor/MotorGroup/Drivetrain/Smartdrive-stop RobotMes…
TheVinhLuong102 Jul 6, 2023
1c33a9e
add place-holder Motor(Group)-spin & related methods test programs (R…
TheVinhLuong102 Jul 6, 2023
acbeaf6
add place-holder Drivetrain/Smartdrive-set-drive/turn-velocity (Robot…
TheVinhLuong102 Jul 6, 2023
b724b9d
add place-holder Drivetrain/Smartdrive-set-gear-ratio RobotMesh test …
TheVinhLuong102 Jul 7, 2023
19db49f
add place-holder Motor(Group)-set-max-torque(-current/percent) RobotM…
TheVinhLuong102 Jul 7, 2023
68f15cf
add place-holder set-stopping test programs (RobotMesh)
TheVinhLuong102 Jul 7, 2023
1d82be5
add place-holder Motor(Group)-reset-rotation RobotMesh test programs
TheVinhLuong102 Jul 7, 2023
fb1a96d
add place-holder Motor(Group)-set-rotation RobotMesh test programs
TheVinhLuong102 Jul 7, 2023
12fcea2
add place-holder set-timeout RobotMesh test programs
TheVinhLuong102 Jul 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,32 @@ build-backend = 'setuptools.build_meta'
[tool.pytest.ini_options]

addopts = [
"--ignore-glob='**/.*.py'",
# hidden test files containing code runnable on actual VEX Robotics hardware

'--import-mode=importlib',
# docs.pytest.org/en/latest/explanation/pythonpath.html
# importlib: new in pytest-6.0, this mode uses more fine control mechanisms
# provided by importlib to import test modules.
# This gives full control over the import process,
# and doesn’t require changing sys.path.
# For this reason this doesn’t require test module names to be unique.
# One drawback however is that test modules are non-importable by each other.
# Also, utility modules in the tests directories are not automatically
# importable because the tests directory is no longer added to sys.path.
# Initially we intended to make importlib the default in future releases,
# however it is clear now that it has its own set of drawbacks
# so the default will remain prepend for the foreseeable future.
]

# docs.pytest.org/en/latest/example/pythoncollection.html#changing-naming-conventions
python_files = 'Test*.py test*.py'
python_classes = 'Test'
python_functions = 'test_*'

# docs.pytest.org/en/latest/explanation/goodpractices.html#tests-outside-application-code
pythonpath = 'src'

testpaths = [
'test/**/*.py',
]
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading