Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
111 changes: 52 additions & 59 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,63 +14,7 @@ because it turns other people's test suites red.

## [Unreleased]

### Added

- **Copy command in the window.** The Single batch, Presets, Several batches
and Tools screens put on the clipboard the `tfg` command that does what the
screen would do, so a set you found in the window can go into a script or a
pipeline. It is written for PowerShell on Windows and for bash or zsh on
macOS and Linux, and it starts `tfg` the way your computer finds it. On
Several batches it saves the recipe of the screen as a file in the folder
the terminal is open in, then runs it.
- **Sample files to download on the website.** One file of every format at
exactly 1 MB, corrupt PDF, Word, Excel, PowerPoint, JPG, PNG, MP4 and ZIP
files, CSV, JSON and Excel tables for an import, and placeholder pictures in
common sizes. Each comes with its SHA-256 and what the manifest expects a
system to do with it. All of them come from one recipe published beside
them, so `tfg generate samples.yaml` makes the same bytes on any machine.
- **File upload test cases on the website.** A checklist from the size limit
to a file name that leaves its folder, each case with the file that tests it
and the outcome to expect, in every language of the site.
- **A page about the tools on the website.** Checking an archive for zip slip
and zip bombs before unpacking it, and checking or writing SHA-256 checksums.
- **Documentation on the website, in English.** Install, getting started,
every command with every flag and its default, every key of a recipe, every
field of the manifest, every setting of every format, the packages for
pytest and Node, and the desktop window screen by screen. The lists come
from the program when the site is built, so they say what the version you
download does. The documentation page in the other languages leads to them,
with a line about each page in your language.
- **Recipes to download.** Ready recipes for an image upload, a document
upload, a spreadsheet import, archives, email, video and sound, a CI smoke
test and ten thousand files, and every preset as a recipe. Each writes into a
folder of its own name, so several can run one after another.

### Changed

- **npm, PyPI and the container image get stable releases only.** A release
candidate stays a prerelease on GitHub, so `npm install`, `pip install` and
the image never give you one. While the code on `main` is a release
candidate, the README and the website name the last stable release in their
install commands.
- **The README says what the tool can do in full**: presets, damaged files, a
name no disk stores, the tools, and the packages for pytest and Node.
- **After a run, Open folder, Open manifest and Open instructions get a line of
their own** under Preview and Generate in the window, when they do not fit
beside them. Preview and Generate stay where they were, and the next run
starts without the form moving.

### Fixed

- **`tfg tool checksum-write` no longer promises to notice any change in the
folder.** Its question is now "How will I know later that none of these files
changed?". `checksum-check` checks the files the checksum file lists, so a
file added to the folder later is not noticed.
- **The examples in the README and on the documentation page each write into a
folder of their own.** Run one after another, the second used to stop at the
manifest the first had left in the same folder.

## [0.6.0-rc1] - 2026-11-18
## [0.6.0] - 2026-11-28

### Breaking

Expand Down Expand Up @@ -130,6 +74,36 @@ because it turns other people's test suites red.

### Added

- **Copy command in the window.** The Single batch, Presets, Several batches
and Tools screens put on the clipboard the `tfg` command that does what the
screen would do, so a set you found in the window can go into a script or a
pipeline. It is written for PowerShell on Windows and for bash or zsh on
macOS and Linux, and it starts `tfg` the way your computer finds it. On
Several batches it saves the recipe of the screen as a file in the folder
the terminal is open in, then runs it.
- **Sample files to download on the website.** One file of every format at
exactly 1 MB, corrupt PDF, Word, Excel, PowerPoint, JPG, PNG, MP4 and ZIP
files, CSV, JSON and Excel tables for an import, and placeholder pictures in
common sizes. Each comes with its SHA-256 and what the manifest expects a
system to do with it. All of them come from one recipe published beside
them, so `tfg generate samples.yaml` makes the same bytes on any machine.
- **File upload test cases on the website.** A checklist from the size limit
to a file name that leaves its folder, each case with the file that tests it
and the outcome to expect, in every language of the site.
- **A page about the tools on the website.** Checking an archive for zip slip
and zip bombs before unpacking it, and checking or writing SHA-256 checksums.
- **Documentation on the website, in English.** Install, getting started,
every command with every flag and its default, every key of a recipe, every
field of the manifest, every setting of every format, the packages for
pytest and Node, and the desktop window screen by screen. The lists come
from the program when the site is built, so they say what the version you
download does. The documentation page in the other languages leads to them,
with a line about each page in your language.
- **Recipes to download.** Ready recipes for an image upload, a document
upload, a spreadsheet import, archives, email, video and sound, a CI smoke
test and ten thousand files, and every preset as a recipe. Each writes into a
folder of its own name, so several can run one after another.

- **A preset of picture sizes.** `tfg generate --preset picture-sizes` writes
a picture at each of 21 common sizes: HD, Full HD, QHD and 4K screens,
profile pictures, and the covers, posts and thumbnails YouTube, Facebook, X,
Expand Down Expand Up @@ -319,8 +293,19 @@ because it turns other people's test suites red.
`--user "$(id -u):$(id -g)"` to write there. README also shows a step that
installs `tfg` on Windows and macOS runners in GitHub Actions.

- **npm, PyPI and the Docker image get stable releases only.** A release
candidate stays a prerelease on GitHub, so `npm install`, `pip install` and
the image never give you one.

### Changed

- **The README says what the tool can do in full**: presets, damaged files, a
name no disk stores, the tools, and the packages for pytest and Node.
- **After a run, Open folder, Open manifest and Open instructions get a line of
their own** under Preview and Generate in the window, when they do not fit
beside them. Preview and Generate stay where they were, and the next run
starts without the form moving.

- **Working out the smallest file of a picture takes half the time.** A
picture with its width and height set and `smallest` as its size was
compressed twice while the run worked out how small it can be, and is now
Expand Down Expand Up @@ -444,6 +429,14 @@ because it turns other people's test suites red.

### Fixed

- **`tfg tool checksum-write` no longer promises to notice any change in the
folder.** Its question is now "How will I know later that none of these files
changed?". `checksum-check` checks the files the checksum file lists, so a
file added to the folder later is not noticed.
- **The examples in the README and on the documentation page each write into a
folder of their own.** Run one after another, the second used to stop at the
manifest the first had left in the same folder.

- **The title bar of the window is dark on Windows set to light apps.** The
window is always dark, and on a Windows set to light apps its title bar was
white. It is now dark there too, and stays dark when the Windows setting is
Expand Down Expand Up @@ -3272,8 +3265,8 @@ because it turns other people's test suites red.

Initial release.

[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0-rc1...HEAD
[0.6.0-rc1]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.5.0...v0.6.0-rc1
[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0...HEAD
[0.6.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.2.0...v0.3.0
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Arm. It holds the program from the release archive and nothing else, and it
runs with no network:

```
docker run --rm --network none -v "${PWD}:/work" ghcr.io/donislawdev/tfg:0.5.0 generate --format pdf --size 1mb
docker run --rm --network none -v "${PWD}:/work" ghcr.io/donislawdev/tfg:0.6.0 generate --format pdf --size 1mb
```

The files land in the current directory. On Linux add
Expand Down Expand Up @@ -819,7 +819,7 @@ interrupted. One entry per file:
```json
{
"manifest_version": "1.0",
"tool": { "name": "testing-files-generator", "version": "0.6.0-rc1" },
"tool": { "name": "testing-files-generator", "version": "0.6.0" },
"run": {
"id": "run_b359aa8d94",
"seed": 0,
Expand Down Expand Up @@ -960,7 +960,7 @@ On a Linux runner the Docker image needs no install step:

```yaml
- name: build the fixtures
run: docker run --rm --network none --user "$(id -u):$(id -g)" -v "$PWD:/work" ghcr.io/donislawdev/tfg:0.5.0 generate fixtures.yaml --out fixtures
run: docker run --rm --network none --user "$(id -u):$(id -g)" -v "$PWD:/work" ghcr.io/donislawdev/tfg:0.6.0 generate fixtures.yaml --out fixtures
```

Name the version rather than `latest`, so the same recipe gives the same bytes
Expand All @@ -980,7 +980,7 @@ names the SPDX predicate. On macOS this needs an Apple silicon runner, such as
env:
GH_TOKEN: ${{ github.token }}
run: |
version=0.5.0
version=0.6.0
arch=amd64
if [ "$RUNNER_ARCH" = ARM64 ]; then arch=arm64; fi
case "$RUNNER_OS" in
Expand Down
Binary file modified cmd/tfg-gui/rsrc_windows_amd64.syso
Binary file not shown.
Binary file modified cmd/tfg/rsrc_windows_amd64.syso
Binary file not shown.
4 changes: 2 additions & 2 deletions cmd/tfg/tfg.rc
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "DonislawDev"
VALUE "FileDescription", "Generates test files for QA, from the command line"
VALUE "FileVersion", "0.6.0-rc1"
VALUE "FileVersion", "0.6.0"
VALUE "InternalName", "tfg"
VALUE "LegalCopyright", "Copyright (C) 2026 DonislawDev. GNU GPL version 3."
VALUE "OriginalFilename", "tfg.exe"
VALUE "ProductName", "Testing Files Generator"
VALUE "ProductVersion", "0.6.0-rc1"
VALUE "ProductVersion", "0.6.0"
END
END
BLOCK "VarFileInfo"
Expand Down
4 changes: 2 additions & 2 deletions internal/guard/mutation/entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
(
"the version in the file properties drifts from the one the program reports",
"internal/version/version.go",
'const Version = "0.6.0-rc1"',
'const Version = "0.6.0"',
'const Version = "0.1.0"',
"TestBothBinariesCarryTheirVersionAndAuthor",
),
Expand Down Expand Up @@ -8155,7 +8155,7 @@
(
"Unreleased is left comparing from the release before the newest one",
"CHANGELOG.md",
"[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0-rc1...HEAD",
"[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0...HEAD",
"[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.5.0...HEAD",
"TestEveryChangelogVersionHasItsLinkDefinition",
),
Expand Down
Binary file modified internal/guard/testdata/screens/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion internal/guard/testdata/screens/about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<container size="788x24">
<widget pos="-6,-6" size="800x36" type="*widget.Label">
<widget size="800x36" type="*widget.RichText">
<text bold pos="6,6" size="321x24" textSize="20">Testing Files Generator 0.6.0-rc1</text>
<text bold pos="6,6" size="284x24" textSize="20">Testing Files Generator 0.6.0</text>
</widget>
</widget>
</container>
Expand Down
4 changes: 2 additions & 2 deletions internal/gui/icon/chickpea.rc
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "DonislawDev"
VALUE "FileDescription", "Generates test files for QA"
VALUE "FileVersion", "0.6.0-rc1"
VALUE "FileVersion", "0.6.0"
VALUE "InternalName", "tfg-gui"
VALUE "LegalCopyright", "Copyright (C) 2026 DonislawDev. GNU GPL version 3."
VALUE "OriginalFilename", "tfg-gui.exe"
VALUE "ProductName", "Testing Files Generator"
VALUE "ProductVersion", "0.6.0-rc1"
VALUE "ProductVersion", "0.6.0"
END
END
BLOCK "VarFileInfo"
Expand Down
16 changes: 8 additions & 8 deletions internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package version
//
// Set to 0.1.0 by the owner on 2026-08-02, raised to 0.2.0 on 2026-08-28, to
// 0.3.0-rc1 on 2026-09-03, to 0.3.0 on 2026-09-09, to 0.4.0 on 2026-09-25, to
// 0.5.0 on 2026-10-20 and to 0.6.0-rc1 on 2026-11-18, every one of them by
// the owner. It stopped being an internal number the day 0.1.0 was published: this
// 0.5.0 on 2026-10-20, to 0.6.0-rc1 on 2026-11-18 and to 0.6.0 on 2026-11-28,
// every one of them by the owner. It stopped being an internal number the day 0.1.0 was published: this
// is what somebody compares their build against when a hash they stored months
// ago does not match.
//
Expand All @@ -35,10 +35,9 @@ package version
// the 26 changed. The settings of html and eml that moved bytes on the way to
// this release were never in one, so they are listed under Added.
//
// 0.6.0-rc1 is a release candidate, and the owner put it out without the
// release check: what it moves is said under Breaking, and the comparison of
// every format with the published 0.5.0 is the check 0.6.0 itself goes
// through.
// 0.6.0-rc1 was a release candidate, and the owner put it out without the
// release check. 0.6.0 is everything it carried and what came after it, and
// what it moves against the published 0.5.0 is said under Breaking.
//
// The absence of a suffix is a decision rather than tidying up. The release
// workflow marks a release as a prerelease when the TAG NAME carries a hyphen,
Expand All @@ -50,8 +49,9 @@ package version
// the workflow greps for a heading naming exactly it before it will build
// anything. The entries that shipped as 0.3.0-rc1 were folded into the 0.3.0
// section on 2026-09-09 for the same reason the version has one place: someone
// upgrading from 0.2.0 needs one list of what changed, not two.
const Version = "0.6.0-rc1"
// upgrading from 0.2.0 needs one list of what changed, not two. The entries
// of 0.6.0-rc1 went into the 0.6.0 section the same way.
const Version = "0.6.0"

// LicenceNotice is what "tfg license" prints and what the window's about
// screen shows.
Expand Down
2 changes: 1 addition & 1 deletion web/public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1>That page is not here</h1><p class="lead">The address you followed does not
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">Test files for QA, at any exact size, with a manifest that states how your system should react to each one.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/corrupt-test-files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ <h2>إلى أين من هنا</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/create-file-exact-size/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ <h2>فأيهما تستخدم؟</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ <h2>ما زلت عالقًا؟</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ <h2>ما زلت تقرر؟</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/file-upload-test-cases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ <h2>تشغيل القائمة كاختبار</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/formats/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ <h2>الأرشيفات تحتوي ملفات حقيقية</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
4 changes: 2 additions & 2 deletions web/public/ar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"applicationCategory": "DeveloperApplication",
"applicationSubCategory": "Software Testing",
"operatingSystem": "Windows, macOS, Linux",
"softwareVersion": "0.5.0",
"softwareVersion": "0.6.0",
"downloadUrl": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator\/releases",
"installUrl": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator\/releases",
"softwareHelp": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator",
Expand Down Expand Up @@ -424,7 +424,7 @@ <h2>اختر الإصدار المناسب لنظامك</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/presets/empty-and-minimal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ <h2>كيف تشغّله؟</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/ar/presets/filename-handling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ <h2>كيف تشغّله؟</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.5.0</p>
<p class="footer-brand">Testing Files Generator 0.6.0</p>
<p class="muted">ملفات اختبار لضمان الجودة بحجم دقيق، مع بيان يحدد كيف يجب أن يتفاعل نظامك مع كل ملف.</p>
</div>
<div class="footer-col">
Expand Down
Loading
Loading