Support for test fixtures has been added in CMake 3.7.0, allowing setup and cleanup tasks to be defined for groups of tests. This article explains the new functionality, demonstrates the problems fixtures solve and shows how to effectively combine fixtures with the existing RESOURCE_LOCK and DEPENDS test properties.