Testing Spacecraft with Pytest
summary
Compares testing needs of web services versus safety- and mission-critical systems used on spacecraft, and presents a rubric for choosing verification approaches based on software and environment attributes. Shows a real-world example using pytest (fixtures, hook system) plus Python features (generators, context managers, threading) to test Varda Space Industries' spacecraft software, including tools for real-time telemetry testing and rich test reporting.
AI-written summary · about
chapters (20)
- 0:00Intro
- 1:59Comparing Spacecraft and Web Services
- 2:53Volume and Criticality
- 5:39Lessons from Ariane 5
- 7:43Lessons from LightSail
- 10:14Verification is a Prediction
- 10:59Confidence In Your Prediction
- 11:49How Much Confidence Do We Need?
- 15:51Approach to Gaining Confidence
- 16:45Capsule Interfaces with Bus
- 17:49Capsule HITL Testbed
- 18:33AutoHITL Sequence of Events
- 19:06Pytest Fixtures
- 20:14AutoHITL with Pytest Scoped Fixtures
- 22:06Overriding Fixtures for Different Testbeds
- 23:44Parametrized Tests
- 24:42Parametrized Fixtures
- 25:32Awaiting on the Telemetry Stream
- 26:03TelemetryBuffer
- 28:05Future Improvements
related talks
28mEgad! How Do We Start Writing Better Tests?
01h 13mRecipe for Testing Spacecraft Ground Software
30mLessons learned about testing and TDD
02mBarbara Streiffert on CAST 2014
35mTesting: Choose Your Weapons
30mVisual Testing with PyCharm and pytest
29mEgad! How Do We Start Writing (Better) Tests?
59mTesting in Python
