Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 3.05 KB

File metadata and controls

75 lines (55 loc) · 3.05 KB

ApprovalTests

Contents

Features

New Features documented here

How Tos

Reference

Configuration

Configuration of ApprovalTests mainly occurs via @Annotations, PackageSettings, and Options. Read More about it here

Note: We are following Daniele Procida's theory of documentation

Explanations

Main concepts for ApprovalTests

  1. Verify verify(object) is the main pattern to use in ApprovalTests.
  2. Options allow you to configure many aspects of Approvals
  3. Reporters (often diff tools) are called on test failure to help you determine what went wrong.
  4. Writers write to a file
  5. Namers figure out what the file should be called and where it is located

Back to User Guide