Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the unique challenges and strategies for testing spacecraft software using pytest in this 30-minute PyCon US talk. Delve into the differences between testing web services and safety-critical systems, and learn how to assess verification needs based on software attributes and operational environments. Gain insights from real-world examples of spacecraft software testing at Varda Space Industries, showcasing pytest's powerful features like fixtures and hooks. Discover how to leverage Python language features such as generators, context managers, and threading to create effective tools for testing real-time telemetry streams and generating comprehensive test reports. From lessons learned from Ariane 5 and LightSail to implementing AutoHITL sequences and parametrized tests, acquire valuable knowledge to enhance your approach to testing mission-critical software systems.
Syllabus
Intro
Comparing Spacecraft and Web Services
Volume and Criticality
Lessons from Ariane 5
Lessons from LightSail
Verification is a Prediction
Confidence In Your Prediction
How Much Confidence Do We Need?
Approach to Gaining Confidence
Capsule Interfaces with Bus
Capsule HITL Testbed
AutoHITL Sequence of Events
Pytest Fixtures
AutoHITL with Pytest Scoped Fixtures
Overriding Fixtures for Different Testbeds
Parametrized Tests
Parametrized Fixtures
Awaiting on the Telemetry Stream
TelemetryBuffer
Future Improvements
Taught by
PyCon US