Python Test

77: Testing Complex Systems with Maintainable Test Suites

06.11.2019 - By Brian OkkenPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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.Links:VoltmeterOscilloscopeSpectrum analyzerFunction generatorArbitrary waveform generatorWireless Communications Testers & SystemsR&S; CMW PlatformSCPI - Standard Commands for Programmable InstrumentsVISA - Virtual instrument software architecturePyVISA: Control your instruments with Pythonpytestpytest book

More episodes from Python Test