summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-01-09 09:14:56 -0600
committerCorey Hulen <corey@hulen.com>2016-01-09 09:14:56 -0600
commit3e87250b4404de32c677a04b36fb809cabdaf9f1 (patch)
treeb31f06bf2890e1dcd74915e35d055f271d46dd73
parent79ee60a22553b2cc145ba5772f9f42d8c3bb05a0 (diff)
parent85111e7098617514d66f08d1e35102512a22060f (diff)
downloadchat-3e87250b4404de32c677a04b36fb809cabdaf9f1.tar.gz
chat-3e87250b4404de32c677a04b36fb809cabdaf9f1.tar.bz2
chat-3e87250b4404de32c677a04b36fb809cabdaf9f1.zip
Merge pull request #1839 from mattermost/lfbrock-patch-2
Create test-search.md
-rw-r--r--doc/developer/tests/test-search.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/developer/tests/test-search.md b/doc/developer/tests/test-search.md
new file mode 100644
index 000000000..0f0ba1153
--- /dev/null
+++ b/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*