YoVDO

Structure and Interpretation of Test Cases

Offered By: NDC Conferences via YouTube

Tags

NDC Conferences Courses Software Development Courses Unit Testing Courses Testing Frameworks Courses

Course Description

Overview

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.

Syllabus

Intro
Title
Target Audience
XUnit Test Patterns
Test Code vs Production Code
Documentation
Language
Guts
Unit Tests
Leap Year
Constructive Advice
Examples
Improvements
Naming Conventions
Propositions
Commonality
Nesting
Test Data
Multiples
Over Programming
Stacks
Abstract Data Types
Strunk and White
The assert statement
The name
Naming
Stack Specification
Preconditions
Deep Observation


Taught by

NDC Conferences

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Software Testing
University of Utah via Udacity
The Hardware/Software Interface
University of Washington via Coursera
Software Debugging
Saarland University via Udacity
Introduction to Systematic Program Design - Part 1
The University of British Columbia via Coursera