FileNamerOptions class final

A class representing options for file naming in approval tests.

The FileNamerOptions class constructs standardized file names for approved and received test outputs, allowing optional descriptions.

Constructors

FileNamerOptions.new({required String folderPath, required String fileName, required String testName, String? description})
Creates a FileNamerOptions instance with required parameters.
const

Properties

approved String
Returns the full path of the approved file.
no setter
approvedFileName String
Generates the approved file name.
no setter
description String?
An optional description to differentiate test outputs.
final
fileName String
The base file name.
final
folderPath String
The directory where files will be stored.
final
hashCode int
The hash code for this object.
no setterinherited
received String
Returns the full path of the received file.
no setter
receivedFileName String
Generates the received file name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testName String
The name of the test associated with the file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited