BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME;VALUE=TEXT:Testing Python code with pytest
PRODID:-//Harvard events data//EN
BEGIN:VEVENT
UID:event_1652169_0
SUMMARY:Testing Python code with pytest
DESCRIPTION:<p>	Presented by Nick Murphy</p><p>	<a data-saferedirecturl="https://www.google.com/url?q=https://smithsonian.zoom.us/meeting/register/tZMkcemspzojGt1RyskgupWw-0NdxehcEvey&amp;source=gmail&amp;ust=1663195681351000&amp;usg=AOvVaw09B_Q5XPPutAs7GSkPjZkh" href="https://smithsonian.zoom.us/meeting/register/tZMkcemspzojGt1RyskgupWw-0NdxehcEvey" target="_blank">Please register here!</a></p>Software tests give us confidence that our code is working correctly.  Tests help us find and fix bugs, preferably as soon as we introduce them.  When working with code that is well-tested, we are able to change the code with confidence that we are not introducing hidden bugs elsewhere in the program.  Software tests reduce frustration and make our lives easier.  Even though tests are considered vital in software engineering, testing has been applied irregularly to scientific software.  This tutorial will introduce how to write and run Python tests using <a data-saferedirecturl="https://www.google.com/url?q=https://docs.pytest.org/en/7.1.x/&amp;source=gmail&amp;ust=1663195681351000&amp;usg=AOvVaw1YFugVtOCwt3D8epXPogOf" href="https://docs.pytest.org/en/7.1.x/" target="_blank">pytest</a>.  We will cover assertions, exceptions, how to write unit tests, how to run tests with pytest, test parameterization, and test-driven development.  We will end with a discussion on software testing best practices, how to decide on what tests to write, and how to write code that is easy to test.
LOCATION:Virtual, Zoom
STATUS:CONFIRMED
DTSTART:20220919T170000Z
DTEND:20220919T183000Z
END:VEVENT
END:VCALENDAR