adding pytest PoC for real devices

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-05-13 22:54:35 +02:00
parent 3b3f9b1f4d
commit 05f8519864
3 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@@ -12,3 +12,4 @@ sdkconfig.old
!.vscode/launch.json !.vscode/launch.json
!.vscode/extensions.json !.vscode/extensions.json
.history/* .history/*
__pycache__

3
pytest.ini Normal file
View File

@@ -0,0 +1,3 @@
[pytest]
addopts = --embedded-services esp,idf -s
python_files = *.py

2
tests/test_main.py Normal file
View File

@@ -0,0 +1,2 @@
def test_main(dut):
dut.expect('waiting for download')