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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 0 additions & 66 deletions test/Dockerfile

This file was deleted.

42 changes: 3 additions & 39 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
# Acceptance Testing
# Test Utilities

This directory contains an acceptance test suite for ghostty. This works
by running the terminal emulator within a windowing environment, capturing a
screenshot, and comparing results. We use this to visually verify that
all rendering conforms to what we expect.

This test suite can also execute alternate terminal emulators so that we
can easily compare outputs between them.

## Running a Single Test

To run a single test, use the `run-host.sh` script. This must be executed
from this directory. Example:

```shell-session
$ ./run-host.sh --exec xterm --case /src/cases/vttest/launch.sh
```

The `--case` flag uses `/src` as the root for this directory.

The `--update` flag can be used to update the screenshot in place. This
should be used to gather a new screenshot. If you want to compare to the old
screenshot, copy the old one or use git to revert.

## Running the Full Suite

**Warning:** This can take a long time and isn't recommended. The CI
environment automatically runs the full test suite and is the recommended
approach.

To run the full test suite against all terminal emulators, use the
`run-all.sh` script. This optionally takes an `--exec` parameter to run
the full test suite against only a single terminal emulator.

## Modifying the `ghostty` Binary

This test suite expects the `ghostty` binary to be in _this directory_.
You can manually copy it into place. Each time you modify the binary, you
must rebuild the Docker image.
This directory contains anything related to testing Ghostty that doesn't
fit within the standard Zig testing framework alongside the source.
7 changes: 0 additions & 7 deletions test/cases/vttest/1_1.sh

This file was deleted.

Binary file removed test/cases/vttest/1_1.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_1.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_1.sh.xterm.png
Binary file not shown.
9 changes: 0 additions & 9 deletions test/cases/vttest/1_2.sh

This file was deleted.

Binary file removed test/cases/vttest/1_2.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_2.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_2.sh.xterm.png
Binary file not shown.
11 changes: 0 additions & 11 deletions test/cases/vttest/1_3.sh

This file was deleted.

Binary file removed test/cases/vttest/1_3.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_3.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_3.sh.xterm.png
Binary file not shown.
13 changes: 0 additions & 13 deletions test/cases/vttest/1_4.sh

This file was deleted.

Binary file removed test/cases/vttest/1_4.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_4.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_4.sh.xterm.png
Binary file not shown.
15 changes: 0 additions & 15 deletions test/cases/vttest/1_5.sh

This file was deleted.

Binary file removed test/cases/vttest/1_5.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_5.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_5.sh.xterm.png
Binary file not shown.
17 changes: 0 additions & 17 deletions test/cases/vttest/1_6.sh

This file was deleted.

Binary file removed test/cases/vttest/1_6.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_6.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/1_6.sh.xterm.png
Binary file not shown.
4 changes: 0 additions & 4 deletions test/cases/vttest/launch.sh

This file was deleted.

Binary file removed test/cases/vttest/launch.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/vttest/launch.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/vttest/launch.sh.xterm.png
Binary file not shown.
4 changes: 0 additions & 4 deletions test/cases/wraptest.sh

This file was deleted.

Binary file removed test/cases/wraptest.sh.alacritty.png
Binary file not shown.
Binary file removed test/cases/wraptest.sh.ghostty.png
Binary file not shown.
Binary file removed test/cases/wraptest.sh.xterm.png
Binary file not shown.
23 changes: 0 additions & 23 deletions test/run-all.sh

This file was deleted.

16 changes: 0 additions & 16 deletions test/run-host.sh

This file was deleted.

142 changes: 0 additions & 142 deletions test/run.sh

This file was deleted.

Loading