summaryrefslogtreecommitdiffstats
path: root/tests/test-search.md
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-18 09:25:10 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-18 09:25:10 -0500
commita7fae6e62fbddc5565b10995f0eaeaca0af6c818 (patch)
treed34a4bfbf53e52d48cefbd699fbcac1e8032c879 /tests/test-search.md
parent8b9ff64881aae5694f616612f994991b2a3d7c59 (diff)
downloadchat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.tar.gz
chat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.tar.bz2
chat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.zip
Moving tests to /tests and removing /doc folder. Docs are now in seperate repository
Diffstat (limited to 'tests/test-search.md')
-rw-r--r--tests/test-search.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/test-search.md b/tests/test-search.md
new file mode 100644
index 000000000..0f0ba1153
--- /dev/null
+++ b/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*