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 Unit Tests #22

Open
HaaLeo opened this issue Nov 10, 2020 · 0 comments
Open

Add Unit Tests #22

HaaLeo opened this issue Nov 10, 2020 · 0 comments
Labels
engineering Under the hood enhancements

Comments

@HaaLeo
Copy link
Owner

HaaLeo commented Nov 10, 2020

Description

As swarmlib is growing it is essential to ensure the key functionality works flawless. Therefore at least the base components (of the utility module should be tested.

Proposal

  • Add some first unit tests using pytest. Testing matplotlib related things is documented here.
  • Testing animations is not supported out of the box (ref Animation comparison matplotlib/pytest-mpl#74). Therefore, for the scope of this issue it should be sufficient to initialize the BaseVisualizer and then check with ptest-mpl whether the background is drawn correctly
@HaaLeo HaaLeo added the engineering Under the hood enhancements label Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Under the hood enhancements
Projects
None yet
Development

No branches or pull requests

1 participant