TempDirFixture class
A Fixture
used to create a temporary directory, which will be created on
setup, and deleted on teardown.
Example
group('Some test', (){
final tmpDir = fixtureForEach<TempDirFixture>(TempDirFixture())
test('testing something', (){
// ... use tmpDir.directory here ...
});
});
Constructors
Properties
Methods
-
after(
) → void -
Cleans out and deletes the temporary directory.
override
-
before(
) → void -
Creates the temporary directory and exposes it as the
directory
property.override -
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