Test fixtures and sample files for CI/CD pipelines

Fixtures for build, test and deployment pipelines, with checksums for verification.

Pipelines handle files constantly: artifacts are uploaded, caches are restored, archives are unpacked and configuration is parsed. When you write or debug a pipeline step, a file of known size and checksum tells you immediately whether the step did its job.

The published SHA-256 values let a job verify what it downloaded before using it.

Recommended files

FileSizeWhy this oneDownload
10 MB BIN samplesample-bin-10mb.bin10 MB10,485,760 bytesArtifact upload and cache testsDownload BIN
1 MB TAR samplesample-tar-1mb.tar1 MB1,048,576 bytesExtraction stepsDownload TAR
Sample Docker Compose YAMLsample-docker-compose.yaml744 B744 bytesConfiguration parsingDownload YAML
Sample customers SQL script (100 rows)sample-customers.sql19.3 KB19,787 bytesSeeding a test databaseDownload SQL
5 MB ZIP samplesample-zip-5mb.zip5 MB5,242,880 bytesArchive artifactDownload ZIP

Checklist

  1. Pin and verify

    When a job downloads a fixture, check its SHA-256 before use and fail the job if it differs.

  2. Cache fixtures

    Store downloaded files in the pipeline cache or an artifact repository so later runs do not depend on the network.

  3. Test artifact size limits

    Upload 10 MB and larger files as artifacts to find the limits and timing of your CI provider.

  4. Test archive handling

    Use the TAR and GZ samples to check the extraction steps of deployment scripts.

Guides

Related use cases

Frequently asked questions

How do I verify a checksum in a shell step?
Write the expected hash and file name to a file and run sha256sum --check against it. The command exits with an error if the file does not match.

Test plan architecture and assertion matrix for test fixtures and sample files for ci/cd pipelines

A thorough ci cd workflow separates positive functional verification (confirming well-formed inputs succeed and preserve their SHA-256 checksum) from negative boundary verification (confirming oversized, truncated, or mislabelled inputs fail with structured diagnostic codes).

Test case IDScenario in ci cdInput fixtureExpected system outcome
TC-CI-C-01Baseline small payload acceptance1 KB – 100 KB valid fixture from FormatsHTTP 200/201; stored byte count and SHA-256 match /checksums.txt
TC-CI-C-02Gateway / reverse-proxy ceiling check1 MB, 10 MB, and 20 MB sized fixtures from SizesExact threshold enforced; oversize payload returns HTTP 413 Payload Too Large
TC-CI-C-03Extension vs. magic-byte mismatchwrong-extension-png-as-jpg.jpg from Broken FilesValidator detects 89 50 4E 47 PNG header and rejects spoofed .jpg extension
TC-CI-C-04Truncated stream / unexpected EOFTruncated PDF or JPEG from Broken FilesParser catches missing trailer/EOI marker and returns HTTP 422 without leaking stack traces

Automating ci cd in CI/CD pipelines

To keep automated runs deterministic and fast, commit your small sub-100 KB fixtures directly to your repository and synthesize larger 10 MB to 1 GB stress fixtures on demand using our in-browser generator or the reproducible local commands on Methodology. When testing tabular or relational data pipelines during ci cd, pair binary container checks with our 100-row and 1,000-row synthetic datasets so you can assert exact row counts and column aggregations after ingestion.