ݺߣ

ݺߣShare a Scribd company logo
Relational
database
testing
Ed Izotov
ed.izotov@gmail.com
skype: corneliusseo
Agenda
1. Introduction
2. Object-oriented testing
3. XXX
4. Вопросы с собеседований
5. Web-сервисы
6. Зачем тестировать?
7. Tools
Introduction
PHP joke is here
Object-oriented testing
Relational database testing
SQL VS NoSQL
SQL VS NoSQL
- Запросы
- Схема данных
- Структура хранения данных и типы данных
- Надежность
- Масштабируемость
- ACID (Atomicity, Consistency, Isolation, Durability)
VS CAP (Consistency, Availability, Partition tolerance)
Relational database testing
Relational DMS objects
Relational DMS objects
- Users
- Permissions
- Databases
- Tables
- Rows
Relations in RDMS
Relations in RDMS
- One-To-Many
- Many-To-Many
- One-To-One
Primary/Foreign keys, indexes
Primary/Foreign keys
Indexes
Database normalization
Database normalization
- First normal form (1NF)
- Second normal form includes 1NF (2NF)
- Third normal form includes 2NF (3NF)
- Boyce–Codd normal form is strong 3NF (BCNF)
- Fourth normal form includes BCNF (4NF)
- Fifth normal form includes 4NF (5NF)
1NF
В любом допустимом значении этой
переменной каждый кортеж отношения
содержит только одно значение для каждого
из атрибутов
1NF
1NF
2NF
Находится в первой нормальной форме и
каждый неключевой атрибут неприводимо
зависит от (каждого) её потенциального
ключа
2NF
2NF
3NF
Каждый неключевой атрибут «должен
предоставлять информацию о ключе, полном
ключе и ни о чём, кроме ключа»
3NF
3NF
BCNF
BCNF
PHP joke is here
4NF
4NF
5NF
5NF
Testing
Testing
- Проверяем атрибуты на соответствие типам
- Ключи и индексы в таблицах, отношения
- Нормальные формы
Tools
HeidiSQL
DbVisualizer
Interview questions
PHP joke is here
Ed Izotov
Skype: corneliusseo
Email: ed.izotov@gmail.com
Ad

Recommended

разработка методов извлечения информации из веб ресурсовSw
разработка методов извлечения информации из веб ресурсовSw
Yury Katkov
Фёдор Строк - Базы данных - SQL, ORM, NoSQL
Фёдор Строк - Базы данных - SQL, ORM, NoSQL
Yandex
Управление данными (реляционная модель)
Управление данными (реляционная модель)
Ural Federal University named after First President of Russia B.N. Yeltsin
Управление данными (модели данных)
Управление данными (модели данных)
Ural Federal University named after First President of Russia B.N. Yeltsin
Открытые данные в образовании
Открытые данные в образовании
Mikhail Navrotskii
Управление данными. Основы проектирования БД
Управление данными. Основы проектирования БД
Ural Federal University named after First President of Russia B.N. Yeltsin
Управление данными (sql)
Управление данными (sql)
Ural Federal University named after First President of Russia B.N. Yeltsin
Открытые данные: базовые знания для НКО
Открытые данные: базовые знания для НКО
Tania Evlampieva
Magic of web components
Magic of web components
HYS Enterprise
“ASP.NET Core. Features and architecture”
“ASP.NET Core. Features and architecture”
HYS Enterprise
How to create a perfect CV and make a good impression at an interview
How to create a perfect CV and make a good impression at an interview
HYS Enterprise
Top soft skills to get a job
Top soft skills to get a job
HYS Enterprise
Saga pattern
Saga pattern
HYS Enterprise
Wild Async .NET world: AID Kit for boy-scouts
Wild Async .NET world: AID Kit for boy-scouts
HYS Enterprise
Contract testing. Getting started with Pact IO.
Contract testing. Getting started with Pact IO.
HYS Enterprise
Testing strategies in a microservices architecture. Independence vs integration
Testing strategies in a microservices architecture. Independence vs integration
HYS Enterprise
Leonid Sushenko "Pro scrum"
Leonid Sushenko "Pro scrum"
HYS Enterprise
"Test Design Techniques"
"Test Design Techniques"
HYS Enterprise
Essentials soft skills for a developer
Essentials soft skills for a developer
HYS Enterprise
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
HYS Enterprise
"Dealing with legacy code"
"Dealing with legacy code"
HYS Enterprise
“QA job interview: life hacks and scripts for success”
“QA job interview: life hacks and scripts for success”
HYS Enterprise
Evgeniy Burak (HYS Enterprise): “Spring Data REST or intellectual job VS manual”
Evgeniy Burak (HYS Enterprise): “Spring Data REST or intellectual job VS manual”
HYS Enterprise
Dmitriy Mustafin (HYS Enterprise) "Web UI for Back-end developer."
Dmitriy Mustafin (HYS Enterprise) "Web UI for Back-end developer."
HYS Enterprise
Nikolay Tsyb (HYS Enterprise) "Immortal system as a piece of cake."
Nikolay Tsyb (HYS Enterprise) "Immortal system as a piece of cake."
HYS Enterprise
Я твой Expected Result шатал
Я твой Expected Result шатал
HYS Enterprise
“Elasticsearch for .NET developers”
“Elasticsearch for .NET developers”
HYS Enterprise
“Microservices: how to avoid making the same mistake twice.”
“Microservices: how to avoid making the same mistake twice.”
HYS Enterprise

More Related Content

More from HYS Enterprise (20)

Magic of web components
Magic of web components
HYS Enterprise
“ASP.NET Core. Features and architecture”
“ASP.NET Core. Features and architecture”
HYS Enterprise
How to create a perfect CV and make a good impression at an interview
How to create a perfect CV and make a good impression at an interview
HYS Enterprise
Top soft skills to get a job
Top soft skills to get a job
HYS Enterprise
Saga pattern
Saga pattern
HYS Enterprise
Wild Async .NET world: AID Kit for boy-scouts
Wild Async .NET world: AID Kit for boy-scouts
HYS Enterprise
Contract testing. Getting started with Pact IO.
Contract testing. Getting started with Pact IO.
HYS Enterprise
Testing strategies in a microservices architecture. Independence vs integration
Testing strategies in a microservices architecture. Independence vs integration
HYS Enterprise
Leonid Sushenko "Pro scrum"
Leonid Sushenko "Pro scrum"
HYS Enterprise
"Test Design Techniques"
"Test Design Techniques"
HYS Enterprise
Essentials soft skills for a developer
Essentials soft skills for a developer
HYS Enterprise
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
HYS Enterprise
"Dealing with legacy code"
"Dealing with legacy code"
HYS Enterprise
“QA job interview: life hacks and scripts for success”
“QA job interview: life hacks and scripts for success”
HYS Enterprise
Evgeniy Burak (HYS Enterprise): “Spring Data REST or intellectual job VS manual”
Evgeniy Burak (HYS Enterprise): “Spring Data REST or intellectual job VS manual”
HYS Enterprise
Dmitriy Mustafin (HYS Enterprise) "Web UI for Back-end developer."
Dmitriy Mustafin (HYS Enterprise) "Web UI for Back-end developer."
HYS Enterprise
Nikolay Tsyb (HYS Enterprise) "Immortal system as a piece of cake."
Nikolay Tsyb (HYS Enterprise) "Immortal system as a piece of cake."
HYS Enterprise
Я твой Expected Result шатал
Я твой Expected Result шатал
HYS Enterprise
“Elasticsearch for .NET developers”
“Elasticsearch for .NET developers”
HYS Enterprise
“Microservices: how to avoid making the same mistake twice.”
“Microservices: how to avoid making the same mistake twice.”
HYS Enterprise
“ASP.NET Core. Features and architecture”
“ASP.NET Core. Features and architecture”
HYS Enterprise
How to create a perfect CV and make a good impression at an interview
How to create a perfect CV and make a good impression at an interview
HYS Enterprise
Top soft skills to get a job
Top soft skills to get a job
HYS Enterprise
Wild Async .NET world: AID Kit for boy-scouts
Wild Async .NET world: AID Kit for boy-scouts
HYS Enterprise
Contract testing. Getting started with Pact IO.
Contract testing. Getting started with Pact IO.
HYS Enterprise
Testing strategies in a microservices architecture. Independence vs integration
Testing strategies in a microservices architecture. Independence vs integration
HYS Enterprise
Essentials soft skills for a developer
Essentials soft skills for a developer
HYS Enterprise
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
HYS Enterprise
“QA job interview: life hacks and scripts for success”
“QA job interview: life hacks and scripts for success”
HYS Enterprise
Evgeniy Burak (HYS Enterprise): “Spring Data REST or intellectual job VS manual”
Evgeniy Burak (HYS Enterprise): “Spring Data REST or intellectual job VS manual”
HYS Enterprise
Dmitriy Mustafin (HYS Enterprise) "Web UI for Back-end developer."
Dmitriy Mustafin (HYS Enterprise) "Web UI for Back-end developer."
HYS Enterprise
Nikolay Tsyb (HYS Enterprise) "Immortal system as a piece of cake."
Nikolay Tsyb (HYS Enterprise) "Immortal system as a piece of cake."
HYS Enterprise
Я твой Expected Result шатал
Я твой Expected Result шатал
HYS Enterprise
“Elasticsearch for .NET developers”
“Elasticsearch for .NET developers”
HYS Enterprise
“Microservices: how to avoid making the same mistake twice.”
“Microservices: how to avoid making the same mistake twice.”
HYS Enterprise

Relational database testing