Testing Files Generator

Presets

File name handling

Will my system store, show and give back a file name it did not expect?

The filename-handling preset builds a whole set of real test files for this question in one command, and a manifest.json beside them saying how your system should react to each file. Everything below is read from the program, at the defaults of this version.

What does it usually find?

What is in the set?

At its defaults, as tfg preset show filename-handling reports it:

Files50
Targets in its recipe50
Total size51 200 B
Formatstxt

And what the manifest of that set expects from your system:

ExpectedMeaningFiles
acceptYour system should take the file.4
unspecifiedIt depends on the rules of your system. You decide, then check that what happens is what you meant.46

What can you change?

SettingTakesDefaultWhat it does
--format a format id from the formats page txt The format of every file in the set. It is a flag of the tool itself, and the preset only gives it a default.

How do you run it?

See what the set would cost, build it, or take its recipe to edit:

tfg preset show filename-handling
tfg generate --preset filename-handling --out ./filename-handling
tfg preset eject filename-handling > filename-handling.yaml

Or build on it in a recipe of your own, next to your tests:

version: 1
extends: preset:filename-handling