Testing Files Generator

Presets

Tabular import

Does my table import survive what real tools export?

The tabular-import 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 tabular-import reports it:

Files13
Targets in its recipe13
Total size3 080 060 B
Formatscsv, json, xlsx

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

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

What can you change?

SettingTakesDefaultWhat it does
--rows 1 - 200000 rows 1000 How many rows the spreadsheet holds. It is written at exactly the size that many rows package to, so the budget above moves with this.
--columns 1 - 32768 columns 10 How many columns each row of the spreadsheet has. Rows times columns has a ceiling, and asking past it is refused before anything is written.

How do you run it?

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

tfg preset show tabular-import
tfg generate --preset tabular-import --out ./tabular-import
tfg preset eject tabular-import > tabular-import.yaml

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

version: 1
extends: preset:tabular-import