Test & Code

77: Testing Complex Systems with Maintainable Test Suites


Listen Later

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.
    • 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
      ...more
      View all episodesView all episodes
      Download on the App Store

      Test & CodeBy Brian Okken

      • 4.7
      • 4.7
      • 4.7
      • 4.7
      • 4.7

      4.7

      70 ratings


      More shows like Test & Code

      View all
      Radiolab by WNYC Studios

      Radiolab

      43,838 Listeners

      Software Engineering Daily by Software Engineering Daily

      Software Engineering Daily

      623 Listeners

      Heavy Networking by Packet Pushers

      Heavy Networking

      327 Listeners

      Talk Python To Me by Michael Kennedy

      Talk Python To Me

      585 Listeners

      Python Bytes by Michael Kennedy and Brian Okken

      Python Bytes

      215 Listeners

      Darknet Diaries by Jack Rhysider

      Darknet Diaries

      8,035 Listeners

      The Real Python Podcast by Real Python

      The Real Python Podcast

      142 Listeners

      Unexplainable by Vox

      Unexplainable

      2,308 Listeners

      Network Automation Nerds by Packet Pushers

      Network Automation Nerds

      3 Listeners