approval_tests_flutter
library
Classes
-
ApprovalConverter
-
A utility class for converting and encoding objects into JSON format.
-
ApprovalLogger
-
ApprovalLogger
is a class that provides methods to log messages with different log levels.
-
ApprovalNamer
-
ApprovalNamer
is an abstract class that defines a contract for generating
file names for approved and received files in a test approval process.
-
Approvals
-
Approvals
is a class that provides methods to verify the content of a response.
-
ApprovalScrubber
-
Scrubbers are used to clean up strings before they are compared.
-
ApprovalTestsConstants
-
-
ApprovalTextWriter
-
ApprovalTextWriter
is a class that writes the content to a file at the specified path.
-
ApprovalUtils
-
A utility class for approval-related operations.
-
ApprovalWidgets
-
-
ApprovalWriter
-
ApprovalWriter
is an abstract class for writing approvals.
-
BaseNamer
-
Base class for file name generation in approval tests.
-
CommandLineReporter
-
A reporter that outputs comparison results to the command line.
-
Comparator
-
Comparator
is an abstract class for comparing files.
-
DiffInfo
-
DiffInfo
is a class for storing information about a diff tool.
-
DiffReporter
-
DiffReporter
is a class for reporting the comparison results using a Diff Tool
.
-
ExecutableQuery
-
ExecutableQuery
is an abstract class for executing queries.
-
FileComparator
-
A class
FileComparator
that implements the Comparator
interface.
This class is used to compare the content of two files.
-
FileNamerOptions
-
A class representing options for file naming in approval tests.
-
Extracts file and directory paths from the current stack trace.
-
GitReporter
-
GitReporter
is a class for reporting the comparison results using the git.
-
IndexedNamer
-
A file namer that automatically increments an index for unique file names.
-
IPlatformWrapper
-
IPlatformWrapper
is an abstract class for platform detection.
-
IStackTraceFetcher
-
Interface for fetching the current stack trace.
-
LinuxDiffTools
-
LinuxDiffTools
contains diff tools available on Linux.
-
MacDiffTools
-
MacDiffTools
contains diff tools available on macOS.
-
Namer
-
A standard file namer without indexing.
-
Options
-
Options
class is a class used to set options for the approval test.
-
PlatformWrapper
-
PlatformWrapper
is a class for platform detection.
-
Reporter
-
Reporter
is an abstract class for reporting the comparison results.
-
ScrubDates
-
A class named
ScrubDates
that extends ScrubWithRegEx
.
ScrubDates
uses a regular expression to scrub date strings in a specific format.
-
ScrubNothing
-
A class named
ScrubNothing
that implements the Scrubber
interface.
ScrubNothing
is default scrubber that does nothing.
-
ScrubWithRegEx
-
A class named
ScrubWithRegEx
that implements the Scrubber
interface.
ScrubWithRegEx
is a scrubber that uses a regular expression to scrub strings.
-
StackTraceFetcher
-
A class that provides the current stack trace.
-
WindowsDiffTools
-
WindowsDiffTools
contains diff tools available on Windows.