From cf6c403d6eae48d1c514c308c1872ef1bf3f2c1c Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 10 Oct 2017 18:34:09 +0900 Subject: [PATCH 1/8] add QA.md --- QA.md | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 QA.md diff --git a/QA.md b/QA.md new file mode 100644 index 0000000..45986ee --- /dev/null +++ b/QA.md @@ -0,0 +1,99 @@ +# Checklist for testing Vim Vixen + +## Operations + +Test operations with default key maps. + +### Scrolling + +- [ ] `k`,`j`,``,``,`h`,`l`: scroll vertically and horizonally +- [ ] ``,``: scroll up and down by a half of page +- [ ] ``,``: scroll up and down by page +- [ ] `0`,`$`: scroll leftmost and rightmost +- [ ] `gg`:`G`: scroll to top and bottom + +### Console opening + +The behaviors of the console are tested in [Console section](#consoles). + +#### Console + +- [ ] `:`: open empty console +- [ ] `o`,`t`,`w`: open a console with `open`,`tabopen`,`winopen` +- [ ] `O`,`T`,`W`: open a console with `open`,`tabopen`,`winopen` and current URL +- [ ] `b`: open a consolw with `buffer` + +#### Scrolling + +- [ ] `k`/``,`j`/``: scroll up and down +- [ ] `h`,`l`: scroll left and right +- [ ] ``,``: scroll up and down by half of screen +- [ ] ``,``: scroll up and down by a screen +- [ ] `0`,`$`: scroll to leftmost and rightmost +- [ ] `gg`,`G`: scroll to top and bottom + +#### Tabs +- [ ] `d`: delete current tab +- [ ] `u`: reopen close tab +- [ ] `K`,`J`: select prev and next tab +- [ ] `r`: reload current tab +- [ ] `R`: reload current tab without cache + +### Navigation +- `f`: start following links +- `F`: start following links and open in new tab +- `H`,`L`: go back and forward in histories +- `[[`,`]]`: find prev and next links and open it +- `gu`: go to parent directory +- `gU`: go to root directory + +#### Misc +- [ ] `zi`,`zo`: zoom-in and zoom-out +- [ ] `zz`: set zoom level as default +- [ ] `y`: yank current URL and show a message + +## Consoles + +### Exec a command + +- [ ] ``,``: do nothing + + +- [ ] `open an apple`: search with keywords "an apple" by default search engine (google) +- [ ] `open github.com`: open github.com +- [ ] `open https://github.com`: open github.com +- [ ] `open yahoo an apple`: search with keywords "an apple" by yahoo.com +- [ ] `open yahoo`,`open yahoo`: search with empty keywords; yahoo redirects to top page +- [ ] `open`,`open`: open default search engine + + +- [ ] `tabopen`: do avobe tests replaced `open` with `tabopen`, and verify the page is opened in new tab +- [ ] `winopen`: do avobe tests replaced `open` with `winopen`, and verify the page is opened in new window + + +- [ ] `buffer`,`buffer `: do nothing +- [ ] select tab matched with an URL +- [ ] select tab matched with a title +- [ ] select tabs rotationally when more than two tabs are matched + +## Settings + +### Validations + +- show error on invalid json +- show error when top-level keys has keys other than `keymaps`, and `search` + +#### `"keymaps"` section + +- show error on unknown operation name in `"keymaps"` + +#### `"search"` section + +- validations in `"search"` section are not tested in this release + +### Updating + +- changes are updated on textarea blure when no errors +- changes are not updated on textarea blure when errors occurs +- keymap settings are applied to open tabs without reload +- search settings are applied to open tabs without reload From b38d905f99999b9e54fe80066169d9d2582502b6 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 10 Oct 2017 18:41:57 +0900 Subject: [PATCH 2/8] update QA.md --- QA.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/QA.md b/QA.md index 45986ee..1b09951 100644 --- a/QA.md +++ b/QA.md @@ -72,10 +72,29 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `buffer`,`buffer `: do nothing -- [ ] select tab matched with an URL +- [ ] `buffer `, `buffer <url>`: select tab which has an title matched with +- [ ] `buffer 1`: select leftmost tab +- [ ] `buffer 99`: select rightmost tab - [ ] select tab matched with a title - [ ] select tabs rotationally when more than two tabs are matched +### Completions + +#### History and search engines + +- `open`: show no completions +- `open<SP>`: show all engines and some history items +- `open g`: complete search engines starts with `g` and matched with keywords `g` +- `open foo bar`: complete history items matched with keywords `foo` and `bar` +- also `tabopen` and `winopen` +- shortening commands such as `o` are not test in this release + +#### Buffer command + +- `buffer`: show no completions +- `buffer<SP>`: show all opened tabs in completion +- `buffer x`: show tabs which has title and URL matches with `x` + ## Settings ### Validations From f1158b5957057e5e77535225de7ccfe9ff15dd60 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka <ueokande@i-beam.org> Date: Tue, 10 Oct 2017 19:58:15 +0900 Subject: [PATCH 3/8] update QA.md --- QA.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/QA.md b/QA.md index 1b09951..6104cda 100644 --- a/QA.md +++ b/QA.md @@ -82,37 +82,37 @@ The behaviors of the console are tested in [Console section](#consoles). #### History and search engines -- `open`: show no completions -- `open<SP>`: show all engines and some history items -- `open g`: complete search engines starts with `g` and matched with keywords `g` -- `open foo bar`: complete history items matched with keywords `foo` and `bar` -- also `tabopen` and `winopen` -- shortening commands such as `o` are not test in this release +- [ ] `open`: show no completions +- [ ] `open<SP>`: show all engines and some history items +- [ ] `open g`: complete search engines starts with `g` and matched with keywords `g` +- [ ] `open foo bar`: complete history items matched with keywords `foo` and `bar` +- [ ] also `tabopen` and `winopen` +- [ ] shortening commands such as `o` are not test in this release #### Buffer command -- `buffer`: show no completions -- `buffer<SP>`: show all opened tabs in completion -- `buffer x`: show tabs which has title and URL matches with `x` +- [ ] `buffer`: show no completions +- [ ] `buffer<SP>`: show all opened tabs in completion +- [ ] `buffer x`: show tabs which has title and URL matches with `x` ## Settings ### Validations -- show error on invalid json -- show error when top-level keys has keys other than `keymaps`, and `search` +- [ ] show error on invalid json +- [ ] show error when top-level keys has keys other than `keymaps`, and `search` #### `"keymaps"` section -- show error on unknown operation name in `"keymaps"` +- [ ] show error on unknown operation name in `"keymaps"` #### `"search"` section -- validations in `"search"` section are not tested in this release +- [ ] validations in `"search"` section are not tested in this release ### Updating -- changes are updated on textarea blure when no errors -- changes are not updated on textarea blure when errors occurs -- keymap settings are applied to open tabs without reload -- search settings are applied to open tabs without reload +- [ ] changes are updated on textarea blure when no errors +- [ ] changes are not updated on textarea blure when errors occurs +- [ ] keymap settings are applied to open tabs without reload +- [ ] search settings are applied to open tabs without reload From ec4ff5cee5e2e1e0e978d32a928bd9004fcdadc9 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka <ueokande@i-beam.org> Date: Tue, 10 Oct 2017 20:39:06 +0900 Subject: [PATCH 4/8] update QA --- QA.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/QA.md b/QA.md index 6104cda..2fc1ca6 100644 --- a/QA.md +++ b/QA.md @@ -40,12 +40,12 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `R`: reload current tab without cache ### Navigation -- `f`: start following links -- `F`: start following links and open in new tab -- `H`,`L`: go back and forward in histories -- `[[`,`]]`: find prev and next links and open it -- `gu`: go to parent directory -- `gU`: go to root directory +- [ ] `f`: start following links +- [ ] `F`: start following links and open in new tab +- [ ] `H`,`L`: go back and forward in histories +- [ ] `[[`,`]]`: find prev and next links and open it +- [ ] `gu`: go to parent directory +- [ ] `gU`: go to root directory #### Misc - [ ] `zi`,`zo`: zoom-in and zoom-out @@ -57,7 +57,7 @@ The behaviors of the console are tested in [Console section](#consoles). ### Exec a command - [ ] `<EMPTY>`,`<SP>`: do nothing - +<br> - [ ] `open an apple`: search with keywords "an apple" by default search engine (google) - [ ] `open github.com`: open github.com @@ -65,11 +65,11 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `open yahoo an apple`: search with keywords "an apple" by yahoo.com - [ ] `open yahoo`,`open yahoo<SP>`: search with empty keywords; yahoo redirects to top page - [ ] `open`,`open<SP>`: open default search engine - +<br> - [ ] `tabopen`: do avobe tests replaced `open` with `tabopen`, and verify the page is opened in new tab - [ ] `winopen`: do avobe tests replaced `open` with `winopen`, and verify the page is opened in new window - +<br> - [ ] `buffer`,`buffer `: do nothing - [ ] `buffer <title>`, `buffer <url>`: select tab which has an title matched with From 8d894ecc0afb6e38d4f14ecf6c040b0c9923daca Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka <ueokande@i-beam.org> Date: Tue, 10 Oct 2017 20:57:01 +0900 Subject: [PATCH 5/8] Update QA --- QA.md | 57 +++++++++++++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/QA.md b/QA.md index 2fc1ca6..739a520 100644 --- a/QA.md +++ b/QA.md @@ -1,45 +1,37 @@ -# Checklist for testing Vim Vixen +### Checklist for testing Vim Vixen -## Operations +#### Operations Test operations with default key maps. -### Scrolling +##### Scrolling -- [ ] `k`,`j`,`<C-E>`,`<C-Y>`,`h`,`l`: scroll vertically and horizonally -- [ ] `<C-U>`,`<C-D>`: scroll up and down by a half of page -- [ ] `<C-B>`,`<C-F>`: scroll up and down by page -- [ ] `0`,`$`: scroll leftmost and rightmost -- [ ] `gg`:`G`: scroll to top and bottom +- [ ] `k`/`<C-Y>`,`j`/`<C-E>`: scroll up and down +- [ ] `h`,`l`: scroll left and right +- [ ] `<C-U>`,`<C-D>`: scroll up and down by half of screen +- [ ] `<C-B>`,`<C-F>`: scroll up and down by a screen +- [ ] `0`,`$`: scroll to leftmost and rightmost +- [ ] `gg`,`G`: scroll to top and bottom -### Console opening +##### Console The behaviors of the console are tested in [Console section](#consoles). -#### Console - - [ ] `:`: open empty console - [ ] `o`,`t`,`w`: open a console with `open`,`tabopen`,`winopen` - [ ] `O`,`T`,`W`: open a console with `open`,`tabopen`,`winopen` and current URL - [ ] `b`: open a consolw with `buffer` -#### Scrolling - -- [ ] `k`/`<C-Y>`,`j`/`<C-E>`: scroll up and down -- [ ] `h`,`l`: scroll left and right -- [ ] `<C-U>`,`<C-D>`: scroll up and down by half of screen -- [ ] `<C-B>`,`<C-F>`: scroll up and down by a screen -- [ ] `0`,`$`: scroll to leftmost and rightmost -- [ ] `gg`,`G`: scroll to top and bottom +##### Tabs -#### Tabs - [ ] `d`: delete current tab - [ ] `u`: reopen close tab - [ ] `K`,`J`: select prev and next tab - [ ] `r`: reload current tab - [ ] `R`: reload current tab without cache -### Navigation +#### Navigation + - [ ] `f`: start following links - [ ] `F`: start following links and open in new tab - [ ] `H`,`L`: go back and forward in histories @@ -47,14 +39,15 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `gu`: go to parent directory - [ ] `gU`: go to root directory -#### Misc +##### Misc + - [ ] `zi`,`zo`: zoom-in and zoom-out - [ ] `zz`: set zoom level as default - [ ] `y`: yank current URL and show a message -## Consoles +#### Consoles -### Exec a command +##### Exec a command - [ ] `<EMPTY>`,`<SP>`: do nothing <br> @@ -78,9 +71,9 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] select tab matched with a title - [ ] select tabs rotationally when more than two tabs are matched -### Completions +#### Completions -#### History and search engines +##### History and search engines - [ ] `open`: show no completions - [ ] `open<SP>`: show all engines and some history items @@ -89,28 +82,28 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] also `tabopen` and `winopen` - [ ] shortening commands such as `o` are not test in this release -#### Buffer command +##### Buffer command - [ ] `buffer`: show no completions - [ ] `buffer<SP>`: show all opened tabs in completion - [ ] `buffer x`: show tabs which has title and URL matches with `x` -## Settings +#### Settings -### Validations +##### Validations - [ ] show error on invalid json - [ ] show error when top-level keys has keys other than `keymaps`, and `search` -#### `"keymaps"` section +##### `"keymaps"` section - [ ] show error on unknown operation name in `"keymaps"` -#### `"search"` section +##### `"search"` section - [ ] validations in `"search"` section are not tested in this release -### Updating +##### Updating - [ ] changes are updated on textarea blure when no errors - [ ] changes are not updated on textarea blure when errors occurs From 006be7f44c903bdf9ce81c30cf7c9fb56bfdd31f Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka <ueokande@i-beam.org> Date: Tue, 10 Oct 2017 21:15:44 +0900 Subject: [PATCH 6/8] Update QA --- QA.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/QA.md b/QA.md index 739a520..b850591 100644 --- a/QA.md +++ b/QA.md @@ -64,11 +64,10 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `winopen`: do avobe tests replaced `open` with `winopen`, and verify the page is opened in new window <br> -- [ ] `buffer`,`buffer `: do nothing +- [ ] `buffer`,`buffer<SP>`: do nothing - [ ] `buffer <title>`, `buffer <url>`: select tab which has an title matched with - [ ] `buffer 1`: select leftmost tab - [ ] `buffer 99`: select rightmost tab -- [ ] select tab matched with a title - [ ] select tabs rotationally when more than two tabs are matched #### Completions @@ -80,7 +79,7 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `open g`: complete search engines starts with `g` and matched with keywords `g` - [ ] `open foo bar`: complete history items matched with keywords `foo` and `bar` - [ ] also `tabopen` and `winopen` -- [ ] shortening commands such as `o` are not test in this release +- shortening commands such as `o` are not test in this release ##### Buffer command @@ -101,7 +100,7 @@ The behaviors of the console are tested in [Console section](#consoles). ##### `"search"` section -- [ ] validations in `"search"` section are not tested in this release +- validations in `"search"` section are not tested in this release ##### Updating From e96f96a0034f6c099b143f83f610b52f8d77143c Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka <ueokande@i-beam.org> Date: Tue, 10 Oct 2017 21:59:47 +0900 Subject: [PATCH 7/8] fix qa --- QA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QA.md b/QA.md index b850591..c19389c 100644 --- a/QA.md +++ b/QA.md @@ -67,7 +67,7 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `buffer`,`buffer<SP>`: do nothing - [ ] `buffer <title>`, `buffer <url>`: select tab which has an title matched with - [ ] `buffer 1`: select leftmost tab -- [ ] `buffer 99`: select rightmost tab +- [ ] `buffer 0`, `buffer 99`: shows an error - [ ] select tabs rotationally when more than two tabs are matched #### Completions From fe9136a7563646b1eaff7508bb7a5257de541080 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka <ueokande@i-beam.org> Date: Wed, 11 Oct 2017 21:30:19 +0900 Subject: [PATCH 8/8] update qa --- QA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QA.md b/QA.md index c19389c..50c261f 100644 --- a/QA.md +++ b/QA.md @@ -30,7 +30,7 @@ The behaviors of the console are tested in [Console section](#consoles). - [ ] `r`: reload current tab - [ ] `R`: reload current tab without cache -#### Navigation +##### Navigation - [ ] `f`: start following links - [ ] `F`: start following links and open in new tab