summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-06-30 11:27:35 +0200
committerGitHub <noreply@github.com>2021-06-30 11:27:35 +0200
commited4fd2a8e77df304539ca7f445a78039028eaa8a (patch)
treeae48b03370b11f3f0987676584724463ac83460d /src
parent974edc2c98abf22b29598480c41f2505edef4dd1 (diff)
chore(tests): move all integration tests to be either unit or e2e tests - remove old testing infra (#589)
* tests(integration): move basic integration tests to be unit tests * fix(tests): silently fail threadbus for tests * tests(unit): move compatibility tests to become unit tests for grid * tests(unit): move close_pane tests to become unit tests for grid * tests(e2e): move basic layout test to e2e * tests(unit): move move_focus tests to be unit tests * tests(unit): move resize_down tests to be unit tests * tests(unit): move resize_left tests to be unit tests * tests(unit): move resize_right tests to be unit tests * tests(unit): move resize_up tests to be unit tests * tests(infra): remove unused infra * style(fmt): make rustfmt happy * debug * debug * debug * debug * chore(test): shift volume mounting around because github actions is a special child
Diffstat (limited to 'src')
-rw-r--r--src/tests/e2e/cases.rs83
-rw-r--r--src/tests/e2e/remote_runner.rs107
-rw-r--r--src/tests/e2e/snapshots/zellij__tests__e2e__cases__accepts_basic_layout.snap29
-rw-r--r--src/tests/fakes.rs329
-rw-r--r--src/tests/integration/basic.rs498
-rw-r--r--src/tests/integration/close_pane.rs674
-rw-r--r--src/tests/integration/compatibility.rs681
-rw-r--r--src/tests/integration/layouts.rs67
-rw-r--r--src/tests/integration/mod.rs15
-rw-r--r--src/tests/integration/move_focus_down.rs91
-rw-r--r--src/tests/integration/move_focus_left.rs131
-rw-r--r--src/tests/integration/move_focus_right.rs131
-rw-r--r--src/tests/integration/move_focus_up.rs91
-rw-r--r--src/tests/integration/resize_down.rs725
-rw-r--r--src/tests/integration/resize_left.rs702
-rw-r--r--src/tests/integration/resize_right.rs701
-rw-r--r--src/tests/integration/resize_up.rs719
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__bracketed_paste.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__cannot_split_largest_terminal_when_there_is_no_room.snap9
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__cannot_split_terminals_horizontally_when_active_terminal_is_too_small.snap9
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__cannot_split_terminals_vertically_when_active_terminal_is_too_small.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__max_panes.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__scrolling_down_inside_a_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__scrolling_page_down_inside_a_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__scrolling_page_up_inside_a_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__scrolling_up_inside_a_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__split_largest_terminal.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__split_terminals_horizontally.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__split_terminals_vertically.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__starts_with_one_terminal.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__basic__toggle_focused_pane_fullscreen.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_another_pane_above_it.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_another_pane_below_it.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_another_pane_to_the_left.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_another_pane_to_the_right.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_above_it.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_above_it_away_from_screen_edges.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_below_it.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_below_it_away_from_screen_edges.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_to_the_left.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_to_the_left_away_from_screen_edges.snap35
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_to_the_right.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__close_pane_with_multiple_panes_to_the_right_away_from_screen_edges.snap35
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__close_pane__closing_last_pane_exits_app.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__bash_cursor_linewrap.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__clear_scroll_region.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__display_tab_characters_properly.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__emacs_longbuf.snap65
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__exa_plus_omf_theme.snap61
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__fish_paste_multiline.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__fish_select_tab_completion_options.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__fish_tab_completion_options.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__git_diff_scrollup.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__git_log.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__htop.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__htop_right_scrolling.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__htop_scrolling.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__neovim_insert_mode.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__run_bandwhich_from_fish_shell.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__top_and_quit.snap61
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__vim_ctrl_d.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__vim_ctrl_u.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__vim_overwrite.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__compatibility__vim_scroll_region_down.snap33
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__layouts__accepts_basic_layout-2.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__layouts__accepts_basic_layout-3.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__layouts__accepts_basic_layout.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_down__move_focus_down.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_down__move_focus_down_to_the_largest_overlap.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_down__move_focus_down_to_the_most_recently_used_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_left__move_focus_left.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_left__move_focus_left_changes_tab.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_left__move_focus_left_to_the_largest_overlap.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_left__move_focus_left_to_the_most_recently_used_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_right__move_focus_right.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_right__move_focus_right_changes_tab.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_right__move_focus_right_to_the_largest_overlap.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_right__move_focus_right_to_the_most_recently_used_pane.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_up__move_focus_up.snap25
-rw-r--r--src/tests/integration/snapshots/zellij__tests__integration__move_focus_up__move_focus_up_to_the_largest_overlap.snap25
-rw-r--r--