In this lesson we introduce the concept of testing, how it can help to improve the accuracy of your code and how to implement it efficiently using a Python library called pytest
. Testing is essential to demonstrate that programs work as expected, when they are first created and as functionality is added or implementation changed. By the end of the session attendees will learn that testing need not be a costly overhead but it is rather a methodology that helps to improve the quality and sustainability of software.
Though some of this testing functionality is specific to Python, the approach and principles are general and libraries/frameworks exist in most languages.
Lesson material: https://arc-bath.github.io/intro-testing/00_schedule.html
Book a place (University of Bath students and staff only)
Future lessons:
Dates | Programme |
---|---|
25th September 10:15-13:05 | Linux, Python, Version Control, Working with Data |
Previous lesson instructor notebooks:
| Date | Instructor | | --- | --- |