You’ve split up all of your tests to keep them atomic and
free of side effects, but you want to keep them logically organized and
be able to run a specific group of tests on their own.
18.8.2. Solution
You can use the module()
function to group tests together:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.