testing
developers
resources
files

The smallest files of any type to be used in automated testing

Written by Lucian Ghinda

In case you really need in your test suite to handle real files of various types, here are some resources you can use:

  1. The smallest possible valid PNG image: https://evanhahn.com/worlds-smallest-png

  2. The smallest PDF file: https://pdfa.org/the-smallest-possible-valid-pdf/

But what you should actually bookmark is this repository: https://github.com/mathiasbynens/small

It has a great collection of the smallest valid files of any type to be used in automated testing.

Next Workshop

10 October 2025 - 15:00 UTC

3 hours
online
JS

1 Going

JAMIE SCHEMBRI

14 spots remaining

#goodenoughtesting #subscribe #email

Get free samples and be notified when a new workshop is scheduled

You might get sometimes an weekly/monthly emails with updates, testing tips and articles.
I will share early bird prices and discounts with you when the courses are ready.