Test & Code

REST APIs, testing with Docker containers and pytest


Listen Later

Let's say you've got a web application you need to test.

It has a REST API that you want to use for testing.

Can you use Python for this testing even if the application is written in some other language? Of course.

Can you use pytest? duh. yes. what else?
What if you want to spin up docker instances, get your app running in that, and run your tests against that environment?
How would you use pytest to do that?
Well, there, I'm not exactly sure. But I know someone who does.

Dima Spivak is the Director of Engineering at StreamSets, and he and his team are doing just that.

He's also got some great advice on utilizing code reviews across teams for test code, and a whole lot more.

Special Guest: Dima Spivak.

Links:

  • Introducing the StreamSets Test Framework
  • pytest-benchmark · PyPI
  • StreamSets Test Framework-based tests for StreamSets Data Collector
  • StreamSets: Where DevOps Meets Data Integration
  • slack channel for Test & Code
...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

44,038 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Heavy Networking by Packet Pushers

Heavy Networking

328 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

589 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,000 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners

Unexplainable by Vox

Unexplainable

2,278 Listeners

Network Automation Nerds by Packet Pushers

Network Automation Nerds

3 Listeners