Популярное

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

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

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

Топ запросов

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

Quickly Testing Qt Desktop Applications with Approval Tests - Clare Macrae - CppCon 2020

Автор: CppCon

Загружено: 2020-10-02

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

Описание:

https://cppcon.org/
https://github.com/CppCon/CppCon2020/...
---
You've inherited some Qt GUI code: it's valuable, but it doesn't have tests, and it wasn't designed to be testable, so you need to start refactoring. But you can't refactor safely until the code has tests, and you can't add tests without refactoring! How can you ever break out of this loop?

The talk will review the challenges and potential sources of error that are specific to code that uses the Qt cross-platform graphical user interface library, and then describe how to guard against them.

There are many options for unit-testing Qt code, including Qt Test, Google Test and Catch. As well as covering those, and general principles for applying them, I will present a small but surprisingly effective C++11 library for applying "Approval Tests" to cross-platform Qt code.

Finally, the talk will briefly cover some other tools that can aid with inspecting and maintaining Qt code, which can in turn improve testability.

Attendees will discover some quick, practical techniques to help write unit tests and integration tests for Qt code.

---
Clare has worked in software development for over 30 years, and in C++ for 20 years.

Since 2017, she has used her spare time to work remotely with Llewellyn Falco on [ApprovalTests.cpp](https://github.com/approvals/Approval..., to radically simplify testing of legacy code. She has enjoyed this so much that she recently went independent, to focus even more on helper others work more easily with legacy code.

Clare was until recently a Principal Scientific Software Engineer at Cambridge Crystallographic Data Centre, which releases data and powerful software for scientific education, research, and streamlining the design and manufacture of new medicines.

From 2016 to 2018, she lead the team that replaced their 30 year old database format and Fortran code. She then returned to C++ and Qt, working on the popular 3D crystal structure visualisation program [Mercury](https://www.ccdc.cam.ac.uk/mercury/), which she was the original author of.

When not thinking about supporting teams to streamline development, testing and releases, she spends time with family and friends, and enjoys the Raspberry Pi, folk music and cinema.

---
Streamed & Edited by Digital Medium Ltd - events.digital-medium.co.uk
events@digital-medium.co.uk

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

Quickly Testing Qt Desktop Applications with Approval Tests - Clare Macrae - CppCon 2020

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

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

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

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

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

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

Back to Basics: Design Patterns - Mike Shah - CppCon 2020

Back to Basics: Design Patterns - Mike Shah - CppCon 2020

TDD with Qt 6 – Episode 1: Introduction & First Unit Test (Qt Test Framework)

TDD with Qt 6 – Episode 1: Introduction & First Unit Test (Qt Test Framework)

Clare Macrae - Quickly and Effectively Testing Qt Desktop Applications

Clare Macrae - Quickly and Effectively Testing Qt Desktop Applications

CppCon 2014: Matt Hargett

CppCon 2014: Matt Hargett "Pragmatic Unit Testing in C++"

Zed IDE: Полный обзор спустя год | Личный опыт разработки на ней

Zed IDE: Полный обзор спустя год | Личный опыт разработки на ней

Breaking Dependencies: The SOLID Principles - Klaus Iglberger - CppCon 2020

Breaking Dependencies: The SOLID Principles - Klaus Iglberger - CppCon 2020

Основы программирования на Qt. Сигналы и слоты

Основы программирования на Qt. Сигналы и слоты

Software Testing Tutorial - Learn Unit Testing and Integration Testing

Software Testing Tutorial - Learn Unit Testing and Integration Testing

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Самые частые вопросы про программирование Часть 1

Самые частые вопросы про программирование Часть 1

The Science of Unit Tests - Dave Steffen - CppCon 2020

The Science of Unit Tests - Dave Steffen - CppCon 2020

Modern C++ Safety and Security At 20 - Matthew Butler - CppCon 2020

Modern C++ Safety and Security At 20 - Matthew Butler - CppCon 2020

🔀 Зачем Frontend и Backend разработчику на JavaScript, TypeScript, Node.js этот ваш Local-First?

🔀 Зачем Frontend и Backend разработчику на JavaScript, TypeScript, Node.js этот ваш Local-First?

16 AI-инструментов, которые реально работают в 2026 (честный рейтинг)

16 AI-инструментов, которые реально работают в 2026 (честный рейтинг)

Back to Basics: The Structure of a Program - Bob Steagall - CppCon 2020

Back to Basics: The Structure of a Program - Bob Steagall - CppCon 2020

Unit Testing from Qt Creator

Unit Testing from Qt Creator

Учебник по React для начинающих

Учебник по React для начинающих

Plenary: The Beauty and Power of

Plenary: The Beauty and Power of "Primitive" C++ - Bjarne Stroustrup - CppCon 2020

Tips and Tricks for Testing Large Projects with the Qt Test Framework | #QtWS22

Tips and Tricks for Testing Large Projects with the Qt Test Framework | #QtWS22

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



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



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