Testing a Python Backend: Unit, Integration, and Service Tests
How do you test a backend that accepts both HTTP requests and AMQP messages? I tested the same application through both interfaces, using a real tes…
Последние новости Web от Tech News
How do you test a backend that accepts both HTTP requests and AMQP messages? I tested the same application through both interfaces, using a real tes…
You write a test that seeds a hundred rows with a factory. It fails with IntegrityError: UNIQUE constraint failed: users.id . You run it again and i…
Usually, infrastructure stories start with the words: "Our project got too big, and we decided to split it into parts." But with us, everything was…
Extracting a command wrapper without a result snapshot breaks callers. Characterization tests must freeze returncode, streams, and timeout first. Th…
Both replace an attribute. Both undo it afterwards. Most codebases end up with both, chosen by whichever the author saw last. There is a cleaner lin…
Leaving Everything to AI Feels Risky. But Codex Became Much More Reliable Once I Put Up Some Guardrails https://github.com/tosane932/sales_data_app…
Приветствую, Хабр! Меня зовут Владислав Тимашенков, я занимаюсь автоматизацией тестирования в ГК Infowatch. В этой статье мы построим основу лаконич…
As I've been onboarding to my new position, I've been reviewing some of my coworker's code. I learned that pytest 1) has some built-in fixtures, and…
Introduction Hello from Japan! 🇯🇵 I am tosane932 , a professional truck driver working in logistics while teaching myself Python. In my previous art…
Python Testing: Write Tests That Actually Catch Bugs You’ve written a test that passes, but your bug still slipped through. Why? Because you tested…
Introduction This is my tenth article as a Java engineer learning TypeScript and Python from scratch. This is the third project in my Python series.…
Applying API Testing Frameworks in the Real World: A Practical Guide with Pytest In today's interconnected software landscape, Application Programmi…
Applying API Testing Frameworks in the Real World: A Practical Guide with Pytest In today's interconnected software landscape, Application Programmi…
Introduction This is my ninth article as a Java engineer learning TypeScript and Python from scratch. Last time I moved into the Python series, and…
Не всегда стоит патчить ответ от внешнего HTTP-сервиса через mocker.patch . В таких тестах приложение возвращает ожидаемый ответ, но важная ча…
Почти каждый сервис, который мы сегодня пишем, ходит куда-то наружу — платёжный шлюз, биллинг, чужой публичный API. И каждый раз, когда садимся писа…