Quantcast
Channel: Test & Code
Browsing index pages (234 articles)
↧

214: Python Testing in VS Code

If you haven't tried running automated tests, especially with pytest,  in VS Code recently, you should take another look.The Python for VS Code interface for testing, especially for pytest, has changed...

View Article


213: Repeating Tests

If a test fails in a test suite, I'm going to want to re-run the test. I may even want to re-run a test, or a subset of the suite, a bunch of times.  There are a few pytest plugins that help with...

View Article


212: Canon TDD - by Kent Beck

In 2002, Kent Beck released a book called  "Test Driven Development by Example".In December of 2023, Kent wrote an article called "Canon TDD".With Kent's permission, this episode contains the full...

View Article

211: Stamp out test dependencies with pytest plugins

We want to be able to run tests in a suite, and debug them in isolation, and have the behavior be the same.  If the behavior is different in isolation vs in a suite, it's a nightmare to debug. In this...

View Article

210: TDD - Refactor while green

Test Driven Development. Red, Green, Refactor.  Do we have to do the refactor part?  Does the refactor at the end include tests?  Or can I refactor the tests at any time? Why is refactor at the end?...

View Article


209: Testing argparse Applications

How do you test the argument parsing bit of an application that uses argparse?This episode covers: Design for Test: Structuring your app or script so it's easier to test. pytest & capsys for...

View Article

208: Tests with no assert statements

Why on earth would you want to write a test with no assert statements?After all, aren't assert statements how you decide wether a test passes or fails?In this episode, we walk through a handful of...

View Article

207: Welcome to "Python Test", pytest course, pytest-repeat and...

Podcast name: "Test & Code" -> "Python Test" Python Bytes Podcast Python People Podcast Python Test Podcast <- you are herewhich is still, at least for now, at testandcode.com New course:...

View Article


206: TDD in Context

TDD (Test Driven Development) started from Test First Programming, and has been around at least since the 90's. However, software tools and available CI systems have changed quite a bit since then....

View Article


205: pytest autouse fixtures

On a recent episode of PythonBytes, I suggested it's hard to come up with good examples for pytest autouse fixtures, as there aren't very many good reasons to use them.  James Falcon was kind enough to...

View Article

Free Your Inner Nonfiction Writer

Learn how to write nonfiction fast and well.Johanna Rothman joins the show to discuss writing nonfiction.Johanna's book: Free Your Inner Nonfiction Writer If you like Test & Code, I think you'll...

View Article

Open Source at Intel

Open Source is important to Intel and has been for a very long time.Joe Curley, vice president and general manager of software products and ecosystem, and Arun Gupta, vice president and general manager...

View Article

202: Using Towncrier to Keep a Changelog

Hynek joins the show to discuss towncrier. At the top of the towncrier documentation, it says "towncrier is a utility to produce useful, summarized news files (also known as changelogs) for your...

View Article


201: Avoid merge conflicts on your CHANGELOG with scriv

Last week we talked about the importance of keeping a changelog. This week we talk with Ned Batchelder about scriv, a tool to help maintain that changelog. Scriv "is a command-line tool for helping...

View Article

200: Keep a CHANGELOG

A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project. This episode is about what a changelog is, with an interview with Olivier...

View Article


199: Is Azure Right for a Side Project?

For a web side project to go from "working on desktop" to "live in the cloud", one decision that needs to be made is where to host everything. One option is Microsoft Azure. Lots of corporate sites use...

View Article

198: Testing Django Web Applications

Django has some built in ways to test your application. There's also pytest-django and other plugins that help with testing. Carlton Gibson and Will Vincent from the Django Chat Podcast join the show...

View Article


197: Python project trove classifiers - Do you need this bit of...

Classifiers are one bit of Python project metadata that predates PyPI. Classifiers are weird. They were around in setuptools days, and are still here with pyproject.toml. What are they? Why do we need...

View Article

196: I am not a supplier

Should we think of open source components the same way we think of physical parts for manufactured goods? There are problems with supply chain analogy when applied to software. Thomas Depierre...

View Article

195: What would you change about pytest?

Anthony Sottile and Brian discuss changes that would be cool for pytest, even unrealistic changes. These are changes we'd make to pytest if we didn't ahve to care about backwards compatibilty....

View Article
Browsing index pages (234 articles)


Latest Images