The Basic Unit Test

preview_player
Показать описание

This video is designed to showcase the BASICS of writing and managing Unit Tests. The code shown is frontend code but the concepts should carry forward.

--- LINKS ---

--- VIDEO ---

00:00 - Introduction
02:25 - My History with Unit Tests
04:23 - What are Unit Tests?
07:40 - Advantages / Disadvantages of Unit Tests
10:31 - The Importance of Unit Tests
11:01 - Important Concepts
15:04 - Arrange, Act, Assert
16:43 - Sample Code (Overview)
17:48 - Sample Code ( Clearer Pattern)
20:19 - Sample Code (Unit Tests)
24:21 - Unit Tests (setUsers)
27:20 - Unit Tests (setTypes)
28:47 - Unit Tests (userModel)
33:57 - Unit Tests (getUsers)
36:29 - Unit Tests (getUser)
40:35 - Unit Tests (setUsername)
43:30 - Unit Tests (setUsername - False Positive)
51:19 - Summary
Рекомендации по теме
join shbcf.ru