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

Improve tests #42

Open
2 of 7 tasks
pierfabre opened this issue Jan 7, 2024 · 0 comments · Fixed by #47
Open
2 of 7 tasks

Improve tests #42

pierfabre opened this issue Jan 7, 2024 · 0 comments · Fixed by #47
Assignees

Comments

@pierfabre
Copy link
Collaborator

pierfabre commented Jan 7, 2024

  • Migrate tests to pytest when no input from user required
    • control frequency
    • has motor stopped
  • Better coverage
  • find how to ship tests with the python package on pypi??
  • in interactive robot selftest, individual tests should be able to return a message to be displayed next to OK/FAIL
    • currently we only show the error message when it fails
    • but when we e.g test the control frequency, we'd like to see the max control frequency in the test report
  • test the "has pendulum fallen" function, have the user reset the pendulum and drop it and check that we detect it
    • we often this function has a safety backstop so should be tested
@pierfabre pierfabre linked a pull request Jan 14, 2024 that will close this issue
@Armandpl Armandpl reopened this Jan 14, 2024
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

Successfully merging a pull request may close this issue.

2 participants