Главная
Study mode:
on
1
Intro
2
Title
3
Target Audience
4
XUnit Test Patterns
5
Test Code vs Production Code
6
Documentation
7
Language
8
Guts
9
Unit Tests
10
Leap Year
11
Constructive Advice
12
Examples
13
Improvements
14
Naming Conventions
15
Propositions
16
Commonality
17
Nesting
18
Test Data
19
Multiples
20
Over Programming
21
Stacks
22
Abstract Data Types
23
Strunk and White
24
The assert statement
25
The name
26
Naming
27
Stack Specification
28
Preconditions
29
Deep Observation
Description:
Explore the intricacies of effective test case design in this comprehensive conference talk by Kevlin Henney. Dive deep into unit testing practices, examining examples and counterexamples across various programming languages and frameworks. Learn about crucial aspects such as naming conventions, nesting strategies, and the benefits of data-driven testing. Compare example-based and property-based testing approaches, and discover how to optimize the common given-when-then structure. Gain insights into improving test code quality, documentation practices, and the relationship between test and production code. Analyze specific examples, including leap year calculations and stack implementations, to understand abstract data types and preconditions. Master the art of crafting clear, concise, and meaningful assert statements while adhering to principles reminiscent of Strunk and White's writing guidelines. Elevate your testing skills and learn to structure test cases that enhance code quality and maintainability. Read more

Structure and Interpretation of Test Cases

NDC Conferences
Add to list
0:00 / 0:00