NOV. 8 – 13, 2020


Building your own API testing framework

using Python, Pytest and the requests library

Learn about what makes a good testing frameworks by building your own

APIs lend themselves extremely well to test automation. There's a simple reason for this: APIs are designed to be consumed by computers, not by people. So where with UI tests, you need to rely on testing-specific libraries such as Selenium WebDriver, with API testing you can simply use the same libraries as the ones that are used to build applications. This also means that building an API testing framework is significantly easier than building one for UI testing. So why let's not just do that in a workshop?

You'll be able to experience how easy it is - assuming you have some very basic general programming knowledge and know what an API is. We'll build our framework using Python, Pytest and the requests library. More importantly, we'll explore and discuss what your framework needs to be able to do to support the full life cycle of a test suite. Because I see all too often a focus on how easy it is to build tests and little mention of maintainability or readability of test results.

After this workshop you'll have a basic API testing framework you can extend (I will be giving tips for next steps). More importantly you'll have a better understanding of testing frameworks in general. And that will come in handy when you have to evaluate a testing tool, or when you are discussing a framework with the developers that build it.



Please go through the steps of the "Setup & installation" section of this README ( before the workshop. That way, you'll be ready to go from the start. If that's not possible or if you make a last-minute decision to join the workshop, no worries! We'll get you set up at the beginning of the workshop.

More Related Sessions

Two-Day Tutorial (12-hour Workshop)


(test automation in) Java for testers

Equipment required

30-minute Talk

10:25-10:55 Room F2 - Track 2: Talks

Crossing Over

30-minute New Voice Talk

16:55-17:25 Room F1 - Track 1: New Voices

Testability starts with Code

30-minute New Voice Talk

13:55-14:25 Room F1 - Track 1: New Voices

Deploy microservices with confidence

Other Events:

Your privacy matters

We use cookies to understand how you use our site and to give you the best experience on our website. If you continue to use this site we will assume that you are happy with it and accept our use of cookies, Privacy Policy and Terms of Use.