Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Stefan Baerisch - Tests that (Almost) Write Themselves

Автор: EuroPython Conference

Загружено: 2020-09-28

Просмотров: 411

Описание:

"Tests that (Almost) Write Themselves
EuroPython 2020 - Talk - 2020-07-24 - Brian
Online

By Stefan Baerisch

What do we do when the only test requirements we have are ""the new system should have the exact same results as the old system""? Golden Master Testing may help.
The idea behind golden master testing, also called characterization testing, is quite simple: We don't write test cases that specify what the expected result is. Instead, we take the output from a prior, working version of a program (the golden master) and compare it to the result of the current version. If there is a difference between the output of the current system and the golden master, we may have found a bug.

If implemented right, Golden Master testing can be very useful to test legacy systems or data processing programs with complex input and outputs. Golden Master Testing is also a good addition to our regression testing processes.

In practice, implementing Golden Master testing is not quite that easy. Just checking if the outputs are equal will often not work: If the output includes times and dates or random elements, a simple comparison will not be enough. Luckily for use, with Python, we have the perfect tool to process all kinds of outputs and only look at the parts of the output that are important for the outcome of the test.

In this talk, we will look at best practices for Golden Master Testing with Python. We will see techniques to identify and quantify the relevant differences between our golden master and the current output.



License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/...
Please see our speaker release agreement for details: https://ep2020.europython.eu/events/s...

"

Stefan Baerisch - Tests that (Almost) Write Themselves

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Irene Iriarte - Building The Perfect Personalised Menu Using Python

Irene Iriarte - Building The Perfect Personalised Menu Using Python

Writing tests when the code is already there: Golden Master technique - Milda Glebauskaitė

Writing tests when the code is already there: Golden Master technique - Milda Glebauskaitė

How to test legacy code with characterization tests (JavaScript)

How to test legacy code with characterization tests (JavaScript)

MCP…. So What’s That All About?

MCP…. So What’s That All About?

5 операций, которые я, как врач, НИКОГДА бы не сделал! / Вы ПОЖАЛЕЕТЕ об ЭТИХ операциях!

5 операций, которые я, как врач, НИКОГДА бы не сделал! / Вы ПОЖАЛЕЕТЕ об ЭТИХ операциях!

JetKVM - девайс для удаленного управления вашими ПК

JetKVM - девайс для удаленного управления вашими ПК

Изучите Microsoft Active Directory (ADDS) за 30 минут

Изучите Microsoft Active Directory (ADDS) за 30 минут

Алгоритмы на Python 3. Лекция №1

Алгоритмы на Python 3. Лекция №1

Я в опасности

Я в опасности

Эффективная работа с устаревшим кодом • Майкл Фезерс и Кристиан Клаузен • GOTO 2023

Эффективная работа с устаревшим кодом • Майкл Фезерс и Кристиан Клаузен • GOTO 2023

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Визуализация гравитации

Визуализация гравитации

Понимание GD&T

Понимание GD&T

Legacy Code and Golden Master: How to refactor code more easily

Legacy Code and Golden Master: How to refactor code more easily

РОМАНОВА:

РОМАНОВА: "По приказу. И вот что страшно". Что с Адамом Кадыровым и его с врачами, как было в Кремле

The Windows 11 Disaster Microsoft Didn’t See Coming

The Windows 11 Disaster Microsoft Didn’t See Coming

Как начать вайб-кодить с ИИ: 6 принципов, которые заменят дорогие курсы

Как начать вайб-кодить с ИИ: 6 принципов, которые заменят дорогие курсы

Evaluating Fuzz Testing

Evaluating Fuzz Testing

Golden Master Testing: Your Modernisation Safety Net - Deciphering Software Modernisation (Ep 6)

Golden Master Testing: Your Modernisation Safety Net - Deciphering Software Modernisation (Ep 6)

Europython 2020 -  Opening Session

Europython 2020 - Opening Session

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com