kitty-scrollback.nvim uses plenary.nvim's plenary.tests_harness as its testing harness.
- Execute tests from the command line (preferred)
make test # run all tests excluding tests intended for demos
make test-all # run all tests
make test-all-sequential # run all tests sequentially, this is useful for machines with limited resources
make test-demo # run all demo tests
make test-demo-main # run only the main demo tests shown on the README
make test-demo-config # run all demo configuration tests- Execute tests from Neovim
- Run entire tests directory:
:PlenaryBustedDirectory tests
- Run currently open file
:PlenaryBustedFile %
- Run entire tests directory:
git clone git@github.com/mikesmithgh/kitty-scrollback.nvim.wiki.git- The wiki repo should be a the same level as
kitty-scrollback.nvim
- The wiki repo should be a the same level as
cd kitty-scrollback.nvimmake record-democd kitty-scrollback.nvim.wikils -1 assets/*.mov | xargs -I {} scripts/mov_to_gif.sh {}- Upload all
movfiles in theassetsdirectory to Github by dragging them to a markdown file in the browser - Copy all the generated embedded video urls and paste in
uploaded_movsarray in themake_video_markdown_files.shscript ./scripts/make_video_markdown_files.sh./scripts/make_adv_config_markdown_file.lua &> Advanced-Configuration-Examples.md
- Run the workflow tests
- Check
enable_debug_vncto enable TurboVNC, ngrok, and tmate debugging- This allows you to connect to the Github runner via vnc (for GUI) and ssh
- Troubleshooting:
- If the Github runner timers out and requires a login, you can ssh into the tmate session and restart VNC.
export PATH="/opt/TurboVNC/bin:$PATH" vncserver -kill :1 vncserver -geometry 2560x1080 -SecurityTypes None
- Check
enable_debug_tmateto enable tmate debugging- This allows you to connect to the Github runner via ssh
- Check
- Enable verbose logging by running the action with debug logging enabled.
- This can also be achieved by setting
RUNNER_DEBUGto1,RUNNER_DEBUG=1 make test
- This can also be achieved by setting