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 for MechJeb modules #13

Draft
wants to merge 39 commits into
base: master
Choose a base branch
from
Draft

Add unit tests for MechJeb modules #13

wants to merge 39 commits into from

Conversation

Genhis
Copy link
Owner

@Genhis Genhis commented Aug 25, 2020

Finally there is a way to test for incompatibilities between different MechJeb2 versions and kRPC.MechJeb. This should reduce the number of unexpected bugs in future releases and provide an easy way to test correct functionality during the development process.

The code is still work-in-progress but I welcome any constructive feedback. It will be merged to master when it is finished.

Genhis added 30 commits June 1, 2020 05:12
TestRunner would then import this module and create a list of tests.
- AirplaneAutopilot
- AscentAutopilot
- DockingAutopilot
- LandingAutopilot
- RendezvousAutopilot
- SmartAss
- SmartRcs
- Translatron
- NodeExecutor
- RcsController
- StagingController
- TargetController
- ThrustController
Test methods now don't need to match a generated name.
It's enough if they start with the name followed by '_' and a custom name.
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 this pull request may close these issues.

1 participant