Overview
Syllabus
Intro
TEST METHODOLOGY
TESTABLE CODE
SUBTESTS
TABLE DRIVEN TESTS
TEST FIXTURES
GOLDEN FILES
GLOBAL STATE
TEST HELPERS
REPEAT YOURSELF
INTERNAL PACKAGES
NETWORKING Testing networking? Make a real network connection
NETWORKING + That was a one-connection example. Easy to make an N-connection.
CONFIGURABILITY + Unconfigurable behavior is often a point of difficulty for tests.
COMPLEX STRUCTS
SUBPROCESSING Subprocessing is typical a point of difficult-to-test behavior. + Two options: 1. Actually do the subprocess
SUBPROCESSING: REAL
SUBPROCESSING: MOCK
INTERFACES
TESTING AS A PUBLIC API
CUSTOM FRAMEWORKS
Taught by
Gopher Academy