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 repetetive API call sets into helper functions.
- Using stable, documented, interfaces.
Sponsored By:
Support Test & Code - Python Testing & Development
Links:
<p>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.</p> <ul> <li>quick overview of what test instruments are</li> <li>discussion of API and communication with instruments</li> <li>techniques for shifting complexity out of test cases</li> </ul> <p>These techniques should apply to all test suites dealing with complex systems:</p> <ul> <li>Creating test cases that are easy to read and debug and tell a story about what is being tested.</li> <li>Pushing setup complexity into fixtures.</li> <li>Pushing lengthy repetetive API call sets into helper functions.</li> <li>Using stable, documented, interfaces.</li> </ul><p>Sponsored By:</p><ul><li><a href="http://bit.ly/2IamtrE" rel="nofollow">Pantheon</a>: <a href="http://bit.ly/2IamtrE" rel="nofollow">Pantheon makes building, managing, and optimizing websites simpler. Get started for free at pantheon.io/testandcode.</a></li></ul><p><a href="http://bit.ly/2tzXV5e" rel="payment">Support Test & Code - Python Testing & Development</a></p><p>Links:</p><ul><li><a href="http://bit.ly/1SL69d7" title="Voltmeter" rel="nofollow">Voltmeter</a></li><li><a href="http://bit.ly/1LXd0Ay" title="Oscilloscope" rel="nofollow">Oscilloscope</a></li><li><a href="http://bit.ly/1T0YCLQ" title="Spectrum analyzer" rel="nofollow">Spectrum analyzer</a></li><li><a href="http://bit.ly/2kXnxS4" title="Function generator" rel="nofollow">Function generator</a></li><li><a href="http://bit.ly/2IamwDQ" title="Arbitrary waveform generator" rel="nofollow">Arbitrary waveform generator</a></li><li><a href="http://bit.ly/2IDPP0v" title="Wireless Communications Testers & Systems" rel="nofollow">Wireless Communications Testers & Systems</a></li><li><a href="http://bit.ly/2lTkR7W" title="R&S CMW Platform" rel="nofollow">R&S CMW Platform</a></li><li><a href="http://bit.ly/1MyEzBo" title="SCPI - Standard Commands for Programmable Instruments" rel="nofollow">SCPI - Standard Commands for Programmable Instruments</a></li><li><a href="http://bit.ly/2IamxHU" title="VISA - Virtual instrument software architecture" rel="nofollow">VISA - Virtual instrument software architecture</a></li><li><a href="http://bit.ly/2IycStF" title="PyVISA: Control your instruments with Python" rel="nofollow">PyVISA: Control your instruments with Python</a></li><li><a href="http://bit.ly/2oxKKPL" title="pytest" rel="nofollow">pytest</a></li><li><a href="http://bit.ly/2nL8dbT" title="pytest book" rel="nofollow">pytest book</a></li></ul>
from Planet Python
via
read more
No comments:
Post a Comment