ycliper

Популярное

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

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

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

Топ запросов

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

CppCon 2019: Manu Sánchez “Next generation unit testing using static reflection”

Автор: CppCon

Загружено: 2019-10-07

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

Описание: http://CppCon.org
—
Discussion & Comments:   / cpp  
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2019
—
Unit testing is a widely accepted practice in the software engineering industry, which has been demonstrated to help reduce bugs in production and provide faster iteration cycles for development, helping with development trends such as agile development or continuous deployment.

While being part of the core of modern development, C++ due to its current language limitations lacks a unit testing framework that's expressive and concise enough to keep developers focused around tests themselves and not around all the code needed to support the tests. Current unit testing solutions for C++ usually require arcane constructions through macros, intrusive changes in the tested codebase in the form of class hierarchies for easy mocking, and in some cases manual test registration.

I present unittest, a proof of concept unit testing framework for C++14 based on Python's standard unittest package. unittest avoids the problems described above by using static reflection to figure out what code describes a unit test, and what library functions should be mocked as part of the test. Current C++14 implementation is based on tinyrefl, a libclang based static reflection tool, but the same concept will be possible to implement through future C++ reflection features like those proposed by the Reflection Technical Specification.
—
Manu Sánchez
By Access Control Systems
Software Engineer
Madrid, Spain

Manuel Sanchez started playing with modern C++ during his first year at the university, evolving into a template metaprogramming nerd and so-called C++ "expert". In September 2014 Manuel joined the Spanish startup biicode as a C++ consultant, helping the main developers packaging complex C++ libraries such as Boost. Since September 2015 Manuel is a software developer at By, a Spanish firm specialized in access control systems. Since January 2016 is a member of the Spanish ISO C++ national body.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

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

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
CppCon 2019: Manu Sánchez “Next generation unit testing using static reflection”

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

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

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

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

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

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

CppCon 2019: Arthur O'Dwyer “Back to Basics: Smart Pointers”

CppCon 2019: Arthur O'Dwyer “Back to Basics: Smart Pointers”

CppCon 2017: Rian Quinn “A Test a Day Keeps Your Manager Away!”

CppCon 2017: Rian Quinn “A Test a Day Keeps Your Manager Away!”

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

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

Optimizing Away C++ Virtual Functions May Be Pointless - Shachar Shemesh - CppCon 2023

Optimizing Away C++ Virtual Functions May Be Pointless - Shachar Shemesh - CppCon 2023

Back to Basics: Unit Tests - Ben Saks - CppCon 2020

Back to Basics: Unit Tests - Ben Saks - CppCon 2020

Thoughts About Unit Testing | Prime Reacts

Thoughts About Unit Testing | Prime Reacts

Россия стягивает войска / Президент выступил с заявлением

Россия стягивает войска / Президент выступил с заявлением

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

Using C++14 in an Embedded “SuperLoop” Firmware - Erik Rainey - CppCon 2022

Using C++14 in an Embedded “SuperLoop” Firmware - Erik Rainey - CppCon 2022

Конец империи. Почему Ильхам Алиев пошел против Путина

Конец империи. Почему Ильхам Алиев пошел против Путина

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



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



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