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

Unit tests needs external device. #25

Open
bnozka opened this issue Mar 4, 2024 · 1 comment
Open

Unit tests needs external device. #25

bnozka opened this issue Mar 4, 2024 · 1 comment

Comments

@bnozka
Copy link
Collaborator

bnozka commented Mar 4, 2024

If unit test need some external device that have some unknown state then we don't have unit tests, but maybe system tests.

Unit tests shall execute as fast as possible, without any external device and possible before each commit.

Proposal: mock sockets, and classes to have control over states.

@bnozka bnozka changed the title Unit tests needs camera. Unit tests needs external device. Mar 4, 2024
@bnozka
Copy link
Collaborator Author

bnozka commented Apr 4, 2024

@Galoshi Any plan of action for doing that and migration to pytest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant