Популярное

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

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

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

Топ запросов

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

The Unit Tests Strike Back: Testing the Hard Parts - Dave Steffen - CppCon 2021

Автор: CppCon

Загружено: 2022-03-20

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

Описание:

https://cppcon.org/
https://github.com/CppCon/CppCon2021
---
Unit tests are now considered to be one of the foundational practices in modern software development. There are excellent talks and resources for getting started, and no end of good advice on how to write unit tests and what ideal tests should look like. Unit tests should be correct, complete, readable, resilient, and so forth.

But in real life, it's rarely possible to meet all these goals at the same time, and some situations make writing unit tests difficult or impossible. Existing or legacy code may not have been written with testing in mind; or "correct" results may not be well defined; or the code under test may rely on external services of hardware.

This talk reviews some of the most common "Plan B" techniques for tackling the more challenging unit testing situations. Topics covered will include

White box testing: how to white box, when to white box test, and how to recover afterwards
Abstract classes don't exist but we have to test them anyway.
You can't test it without refactoring it, but you can't refactor without tests: cutting the legacy code gordian knot.
It's probably right but we can't prove it, now what?
It just failed: was it the code, the test, or some other part of reality?

Most techniques will first throw away some of the good advice we already have.

---
Dave Steffen

Dave Steffen completed his Ph.D. in theoretical physics at Colorado State University in 2003, and promptly changed course for a career in software engineering. He has worked primarily in defence and aerospace, and is currently a technical lead at SciTec Inc.'s Boulder office. For reasons unknown, he has turned out to be the expert, champion, and occasional street-corner evangelist for unit testing at most of the companies he has ever worked at.

---
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk

Register Now For CppCon 2022: https://cppcon.org/registration/

The Unit Tests Strike Back: Testing the Hard Parts - Dave Steffen - CppCon 2021

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

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

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

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

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

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

array(10) { [0]=> object(stdClass)#5988 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "K8XnDhrJP7w" ["related_video_title"]=> string(49) "Evolving a Nice Trick - Patrice Roy - CppCon 2021" ["posted_time"]=> string(21) "3 года назад" ["channelName"]=> string(6) "CppCon" } [1]=> object(stdClass)#5961 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "MwoAM3sznS0" ["related_video_title"]=> string(64) "Back to Basics: Unit Testing in C++ - Dave Steffen - CppCon 2024" ["posted_time"]=> string(27) "7 месяцев назад" ["channelName"]=> string(6) "CppCon" } [2]=> object(stdClass)#5986 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "FjwayiHNI1w" ["related_video_title"]=> string(54) "The Science of Unit Tests - Dave Steffen - CppCon 2020" ["posted_time"]=> string(21) "4 года назад" ["channelName"]=> string(6) "CppCon" } [3]=> object(stdClass)#5993 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "M7fV-eQwxrY" ["related_video_title"]=> string(65) "Back To Basics: Debugging Techniques - Bob Steagall - CppCon 2021" ["posted_time"]=> string(21) "3 года назад" ["channelName"]=> string(6) "CppCon" } [4]=> object(stdClass)#5972 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "4eeESJQk-mw" ["related_video_title"]=> string(88) "Breaking Dependencies: Type Erasure - A Design Analysis - Klaus Iglberger - CppCon 2021" ["posted_time"]=> string(21) "3 года назад" ["channelName"]=> string(6) "CppCon" } [5]=> object(stdClass)#5990 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "hFcEVM0moYU" ["related_video_title"]=> string(58) "Как Путин видит окончание войны" ["posted_time"]=> string(21) "3 часа назад" ["channelName"]=> string(27) "Анатолий Шарий" } [6]=> object(stdClass)#5985 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "B1ULvYY-0Uo" ["related_video_title"]=> string(124) "Закон сохранения энергии — величайшее заблуждение физики [Veritasium]" ["posted_time"]=> string(23) "6 часов назад" ["channelName"]=> string(10) "Vert Dider" } [7]=> object(stdClass)#5995 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "blWdjRUPP6E" ["related_video_title"]=> string(72) "Разведчик о том, как использовать людей" ["posted_time"]=> string(25) "2 недели назад" ["channelName"]=> string(18) "Коллектив" } [8]=> object(stdClass)#5971 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "7_H4qzhWbnQ" ["related_video_title"]=> string(56) "Back to Basics: Testing in C++ - Phil Nash - CppCon 2023" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(6) "CppCon" } [9]=> object(stdClass)#5989 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "IgLGiJ00a1I" ["related_video_title"]=> string(151) "Проброс портов, брутфорс wordpress и jenkins! Прохожу машину Internal на TryHackMe, уровень тяжелый!" ["posted_time"]=> string(25) "2 месяца назад" ["channelName"]=> string(14) "Mister Exploit" } }
Evolving a Nice Trick - Patrice Roy - CppCon 2021

Evolving a Nice Trick - Patrice Roy - CppCon 2021

Back to Basics: Unit Testing in C++ - Dave Steffen - CppCon 2024

Back to Basics: Unit Testing in C++ - Dave Steffen - CppCon 2024

The Science of Unit Tests - Dave Steffen - CppCon 2020

The Science of Unit Tests - Dave Steffen - CppCon 2020

Back To Basics: Debugging Techniques - Bob Steagall - CppCon 2021

Back To Basics: Debugging Techniques - Bob Steagall - CppCon 2021

Breaking Dependencies: Type Erasure - A Design Analysis - Klaus Iglberger -  CppCon 2021

Breaking Dependencies: Type Erasure - A Design Analysis - Klaus Iglberger - CppCon 2021

Как Путин видит окончание войны

Как Путин видит окончание войны

Закон сохранения энергии — величайшее заблуждение физики [Veritasium]

Закон сохранения энергии — величайшее заблуждение физики [Veritasium]

Разведчик о том, как использовать людей

Разведчик о том, как использовать людей

Back to Basics: Testing in C++ - Phil Nash - CppCon 2023

Back to Basics: Testing in C++ - Phil Nash - CppCon 2023

Проброс портов, брутфорс wordpress и jenkins! Прохожу машину Internal на TryHackMe, уровень тяжелый!

Проброс портов, брутфорс wordpress и jenkins! Прохожу машину Internal на TryHackMe, уровень тяжелый!

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



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



Контакты для правообладателей: [email protected]