Optionally signal results.
Count passed assertions and only store details for failed assertions.