Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 912 Bytes

File metadata and controls

24 lines (14 loc) · 912 Bytes

Testing Containers

Use Approvals::verifyAll() to test containers of objects.

For some examples, see VectorTests.cpp.

For advice on effective formatting, see To String. As you write out larger volumes of data in your approval files, experience has shown that the choice of layout of text in approval files can make a big difference to maintainability of tests, when failures occur.


Back to User Guide