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

Adding tests #1

Open
2 of 7 tasks
gomezzz opened this issue Oct 6, 2022 · 1 comment
Open
2 of 7 tasks

Adding tests #1

gomezzz opened this issue Oct 6, 2022 · 1 comment
Labels
help wanted Extra attention is needed tests Anything related to the tests

Comments

@gomezzz
Copy link
Collaborator

gomezzz commented Oct 6, 2022

Feature

Desired Behavior / Functionality

Right now our tests are very minimalist, we should aim to improve that.

What Needs to Be Done

  • Track test coverage (e.g. similar to here: Start investigating test coverage esa/torchquad#124 )
  • Add test to run paseos with some actors over multiple time steps
  • Add tests for dynamics part, check positions over a bit longer time period (e.g. half, full orbit)
  • Have a test to check that calls to user API functions throw errors on faulty inputs (e.g. trying to create an actor with a 4D position, or negative charging rate, etc.)
  • Add a test to see if running an activity from a notebook works as expected (not sure how to run a notebook from a test?)
  • Add a test to see if you can successfully pip install and import the module
  • Add a test where local actor is ground station

How Can It Be Tested

With above tests :)

@gomezzz gomezzz added tests Anything related to the tests help wanted Extra attention is needed labels Oct 6, 2022
@gomezzz
Copy link
Collaborator Author

gomezzz commented Nov 17, 2022

Simple notebook to test activities
test_activity.ipynb.zip

@gomezzz gomezzz mentioned this issue Nov 28, 2022
4 tasks
@gomezzz gomezzz mentioned this issue Jan 5, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed tests Anything related to the tests
Projects
None yet
Development

No branches or pull requests

1 participant