Merge pull request #1839 from mattermost/lfbrock-patch-2

Create test-search.md
Этот коммит содержится в:
Corey Hulen
2016-01-09 09:14:56 -06:00
родитель 79ee60a225 85111e7098
Коммит 3e87250b44

43
doc/developer/tests/test-search.md Обычный файл
Просмотреть файл

@@ -0,0 +1,43 @@
# Search Testing
### Basic Search Testing
This post is used by the core team to test search. It should be returned for the test cases for search, with proper highlighting in the search results.
**Basic word search:** Hello world!
**Emoji search:** :strawberry:
**Accent search:** Crème friache
**Non-latin search:**
您好吗
您好
**Email search:** person@domain.org
**Link search:** www.dropbox.com
**Markdown search:**
##### Hello
```
Hello
```
`Hello`
### Hashtags:
Click on the linked hashtags below, and confirm that the search results match the linked hashtags. Confirm that the highlighting in the search results is correct.
#### Basic Hashtags
#hello #world
#### Hashtags containing punctuation:
*Note: Make a separate post containing only the word “hashtag”, and confirm the hashtags below do not return the separate post.*
#hashtag #hashtag-dash #hashtag_underscore #hashtag.dot
#### Punctuation following a hashtag:
#colon: #slash/ #backslash\ #percent% #dollar$ #semicolon; #ampersand& #bracket( #bracket) #lessthan< #greaterthan> #dash- #plus+ #equals= #caret^ #hashtag# #asterisk* #verticalbar| #invertedquestion¿ #atsign@ #quote” #apostrophe' #curlybracket{ #curlybracket} #squarebracket[ #squarebracket]
#### Markdown surrounding a hashtag:
*#markdown-hashtag*