Commit graph

11 commits

Author SHA1 Message Date
Daniel Berg d63a356696
ci: remove bash expect spawn
Debug leftover
2025-05-07 15:09:05 +02:00
Daniel Berg ea8f450335
ci: remove vagrant, replace with container image
Remove old vagrant test setup, and replace with a container image. Using
podman to build and run, and it works much faster than vagrant. I was
able to remove almost all scaffolding and putting it in Containerfile
instead. Result is a much tidier test setup.

Usage:
`podman build -t fuzzback-test .`
`podman run -it --name fuzzback-test fuzzback-test:lastest`
2025-05-05 15:55:12 +02:00
Daniel Berg f6cb608540
Fix vim tests at travis-ci 2021-07-21 17:43:56 +02:00
Daniel Berg 4088c28107
Add cursor_word checks to vim tests 2021-07-19 21:24:55 +02:00
Daniel Berg a388bc0c62
Fix assert_cursor_pos args 2021-07-19 19:53:15 +02:00
Daniel Berg 033226742b
Add test that moves above TUI window 2021-07-19 19:22:22 +02:00
Daniel Berg b55debfad4
Add moving up in vim test
Also shorten input fixture
2021-07-18 16:30:08 +02:00
Daniel Berg 088ea27ed6
Add moving down in vim test 2021-07-18 16:20:05 +02:00
Daniel Berg 93fac9b191
Set window width to 120 to prevent wrapping issues 2021-02-23 15:14:04 +01:00
Daniel Berg 5c61284a6e
Force window height when testing
Ensures that position assertions pass on headless as well as local
2021-02-22 18:33:06 +01:00
Daniel Berg 25c63870a7
Add testing
Add tmux-test as a submodule

Run tmux test setup script

Fix example test

Move scripts to scripts subfolder

WIP

Remove submodule

WIP

Change dist to xenial

Ignore log files

Remove sourcing bashrc

Use xenial as dist

Attempt to install fzf under vagrant user

Add fzf to path

WIP

Fix expect script

Comments

Move provisions to separate folder

Move fixtures to separate folder

Set TERM to prevent tmux errors

WIP

Enable checking pos properly

WIP

Ensure display-message works

Test fuzzback

Add checker to assert_pos

WIP: add more assertions

WIP: fix running multiple assertions

Change TERM to tmux-256color

Fix issue with fuzzback position

Move quit call to associated function

Assert scroll position

Dont export TERM

Include tmux-test in license

Update top level comment

Mention where its copied from

Update header comment

Fix issue with fuzz that caused return to not work

Make create_output take n argument

Fix top of pane tests

Rearrange copy-mode assertion

Caused issues with cursor_pos when it was before that assertion

Set mode-keys to vi

Add middle search tests

Update puts comments, reorder some assertions

Change tests failed message

Fix issue with checking mode

Simplify display_text

Remove unused functions

Fix header lengths

Cleanup, refactor

Rename _private functions, no distinction

Remove empty git modules file

Fix issue with window height passthrough
2021-02-22 16:41:34 +01:00