New issue
Advanced search Search tips

Issue 640508 link

Starred by 0 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Unintuitive design for new developers writing spell checking layout tests

Project Member Reported by xiaoche...@chromium.org, Aug 24 2016

Issue description

A developer new to spell checking code may write a layout test that expects to see markers under "xyz", and then gets super confused by not seeing them. To write a correct test, the developer either has to know about the mock spell checker and its hard-coded list of misspelled words, or blindly follow the other tests to use magic strings like "zz" while still being confused by why "xyz" doesn't work. 

A better design may be to allow tests to add misspelled words to the mock spell checker, and then let spell checking tests explicitly add words under which spelling markers are expected. Then a new developer can just follow these tests to write a correct new test without knowing about the mock spell checker.
 

Comment 1 by yosin@chromium.org, Oct 5 2016

Components: Blink>Editing>Spellcheck

Comment 2 by yosin@chromium.org, Oct 5 2016

Components: -UI>Browser>Spellcheck
Project Member

Comment 3 by sheriffbot@chromium.org, Oct 5 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Type-Bug Type-Task
Status: Available (was: Untriaged)
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 5

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment