Skip to main content
pytest

pytest

SoftwareWikipedia

Search complete. 16 mentions across 11 episodes found for "pytest".

Nov 17, 2026

Jon GoodallHOST
19:56
Yes, you can run pip.
Jon GoodallHOST
19:58
Yes, you can run PyTest.
Jon GoodallHOST
19:59
Yes, you could just do the thing.
Jon GoodallHOST
20:02
So it's probably worth having a look.
Pamela FoxGUEST
7:48
We do have great testing frameworks in Python.
Pamela FoxGUEST
7:50
So I think we can continue, you know, talking about those testing frameworks, like how you could encourage your agents to use Playwright and use PyTest and use hypothesis and schema thesis and all of that stuff.
Pamela FoxGUEST
8:02
And, you know, at least guide it to using like an async framework.
Pamela FoxGUEST
8:05
um, fast API, you know, versus a sync framework.

26 MINS LATER

Pamela FoxGUEST
34:16
Um, and there's a Python package for it.
Pamela FoxGUEST
34:18
It's fantastic.
Pamela FoxGUEST
34:20
And I was already using Playwright quite heavily to write my end-to-end tests for web apps, right? And so you could actually, and there's a PyTest-Playwright plugin.
Pamela FoxGUEST
34:28
So it's very easy to, you know, write these end-to-end tests with Playwright and they'll like automatically open a headless Chromium browser or Firefox browser and they'll click around, they'll do something and they verify it all works, right? um now playwright was one of the first mcp servers that came out and and people loved it because suddenly people discovered browser automation like a lot of people i think had never never knew that you could like programmatically control a browser and so the playwright mcp like you know it lowered the barrier for that where people were just like adding playwright mcp server to their coding agents and you know having fun you know automatically shopping and all that stuff um So, you know, so I that that was, you know, one of the first big servers that you would hear a lot about.
Tarek ZiadéGUEST
38:31
because they're generic.
Tarek ZiadéGUEST
38:32
So the very same test, like a PyTest fixture, if you will, the very same test is going to run across, I don't know, a 100 vision model because it uses the vision model based test class.
Tarek ZiadéGUEST
38:48
So this is how we try to keep things under control, I guess.
Tarek ZiadéGUEST
38:52
And then the last one, which is probably the most important one, is a real end-to-end test with a real model that was pushed into the hub.
Dave MackGUEST
25:03
And on top of that, you can use your software principles to do testing.
Dave MackGUEST
25:06
So, you know, you can use something like a PyTest framework to build fixtures, to stand up the lab, to manipulate the lab, and then run tests against it.
Dave MackGUEST
25:16
So, yeah.
Scott RobohnHOST
25:17
Yeah.
Dave MackGUEST
25:03
And on top of that, you can use your software principles to do testing.
Dave MackGUEST
25:06
So, you know, you can use something like a PyTest framework to build fixtures, to stand up the lab, to manipulate the lab, and then run tests against it.
Dave MackGUEST
25:16
So, yeah.
Scott RobohnHOST
25:17
Yeah.
Dave MackGUEST
25:03
And on top of that, you can use your software principles to do testing.
Dave MackGUEST
25:06
So, you know, you can use something like a PyTest framework to build fixtures, to stand up the lab, to manipulate the lab, and then run tests against it.
Dave MackGUEST
25:16
So, yeah.
Scott RobohnHOST
25:17
Yeah.
Harrison KinsleyHOST
4:38
This was the input, import.
Harrison KinsleyHOST
4:40
It decided that we were going to import NumPy as MP, import PyTest, Pandas as PD, and then import all of this stuff from Pandas, and then start to make this test data frame thing.
Harrison KinsleyHOST
4:51
So pretty cool.
Harrison KinsleyHOST
4:52
And again, you have a context length that is a max of 1024.
Harrison KinsleyHOST
5:42
But at least here, right, we can take this, copy that.
Harrison KinsleyHOST
5:46
We'll just come down to a new cell.
Harrison KinsleyHOST
5:49
And, oh, no module named PyTest.
Harrison KinsleyHOST
5:51
So we don't have PyTest.
Haki BenitaGUEST
28:55
And I went and asked my younger brother, which is a Python developer as well.
Haki BenitaGUEST
29:00
He's also the maintainer of PyTest now and a bunch of other stuff.
Haki BenitaGUEST
29:03
And that was like maybe 15 years ago.
Haki BenitaGUEST
29:05
And I asked him, I need to do this backend.
Peter SchmidtHOST
12:25
But if you do have to run tests manually, you can of course.
Peter SchmidtHOST
12:29
Unit tests written with any unit test frameworks in Python, whether it's the built-in one or pytest, can be run from the command line.
Peter SchmidtHOST
12:37
But the true power of testing lies in automating it all.
Peter SchmidtHOST
12:40
And in particular, when you work in a team that uses repository services such as GitLab, BigBucket or GitHub, which is used at UCL.
Christopher PottsHOST
8:26
We've got pretty good coverage across all the core code.
Christopher PottsHOST
8:30
Um, and if you use PyTest, which is installed if you use Anaconda and you type py.test, and I like to do vv because it gives you a kind of health dashboard, and you run it on one of these files, it will run a bunch of tests.
Christopher PottsHOST
8:45
and all the tests in these directories should pass.
Christopher PottsHOST
8:48
And if they don't, you might get an error saying like, you know, hey, you haven't installed this library or something.
Christopher PottsHOST
8:54
And that would be really helpful for people trying to debug with you.
Christopher PottsHOST
8:57
Uh, and also I'm just kind of pitching this PyTest as a very easy way to write a bunch of tests.
Christopher PottsHOST
9:02
You basically just name your method, the first word should be test, and then PyTest will treat it as a test.
Christopher PottsHOST
9:08
And if you look at my code, you see you can get really good coverage really fast.

1 more episode mentions pytest.

Create an account to see the whole feed, search across every transcript, and follow the entities you care about.

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.