77: Testing Complex Systems with Maintainable Test Suites
Test & Code in Python - A podcast by Brian Okken
![](https://is5-ssl.mzstatic.com/image/thumb/Podcasts125/v4/62/ff/17/62ff17b2-fb33-5c70-f2fa-890e1892113c/mza_2090283641962767593.jpg/300x300bb-75.jpg)
Categories:
Creating maintainable test suites for complex systems. The episode describes some complexities involved with hardware testing, then shares techniques for shifting complexity out of the test cases.
- quick overview of what test instruments are
- discussion of API and communication with instruments
- techniques for shifting complexity out of test cases
These techniques should apply to all test suites dealing with complex systems:
- Creating test cases that are easy to read and debug and tell a story about what is being tested.
- Pushing setup complexity into fixtures.
- Pushing lengthy repetitive API call sets into helper functions.
- Using stable, documented, interfaces.
Sponsored By:
- Pantheon: Pantheon makes building, managing, and optimizing websites simpler. Get started for free at pantheon.io/testandcode.
Support Test & Code: Python Software Testing & Engineering
Links:
- Voltmeter
- Oscilloscope
- Spectrum analyzer
- Function generator
- Arbitrary waveform generator
- Wireless Communications Testers & Systems
- R&S CMW Platform
- SCPI - Standard Commands for Programmable Instruments
- VISA - Virtual instrument software architecture
- PyVISA: Control your instruments with Python
- pytest
- pytest book